Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] [OT] Best Backup Script
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
karaluch
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 236
Location: Wrocław / Poland

PostPosted: Mon Nov 28, 2005 5:59 pm    Post subject: [SOLVED] [OT] Best Backup Script Reply with quote

Witam, dopiero zaczynam moje przygody z gentoo i jak na razie wszystko wydaje sie bardzo trudne ale sie nie poddam :lol: to tak slowem wstepu hehe

wiec chcialem sie dowiedziec czego uzywacie do robinia backupu systemu...

http://forums.gentoo.org/viewtopic-p-2223380.html#2223380 - ten sposob wydaje mi sie na prawde przyzwoity i godny polecenia ale mam do niego kilka pytan/problemow

Quote:
9. Restore

Kod:
1. boot off a live-cd and repartition and create filesystems as necessary
2. eventually reboot, using option: gentoo docache
3. umount /mnt/cdrom
4. remove the live-cd and insert the cd with the stage4
5. mount /dev/cdrom /mnt/cdrom
6. mount /dev/hdaX /mnt/gentoo
7. mkdir /mnt/gentoo/boot
8. mount /dev/hdaX /mnt/gentoo/boot
9. tar xzvpf /mnt/cdrom/host-stage4-18.04.2005-custom.tar.gz -C /mnt/gentoo/
or
9. tar xjvpf /mnt/cdrom/host-stage4-18.04.2005-custom.tar.bz2 -C /mnt/gentoo/
10. mount -t proc none /mnt/gentoo/proc
11. mount -o bind /dev /mnt/gentoo/dev
12. chroot /mnt/gentoo /bin/bash
13. env-update
14. source /etc/profile

if in need adjust necessary files (/etc/fstab, /boot/grub/grub.conf) and/or install grub

15. emerge sync (rebuild portage tree)
16. exit
17. cd /
18. umount /mnt/cdrom
19. remove backup cd
20. umount /mnt/gentoo/boot
21. umount /mnt/gentoo/dev
22. umount /mnt/gentoo/proc
23 umount /mnt/gentoo
24. Reboot


Ostanio podlaczylem inny dosk i chcialem sprawdzic jak wyglada odtworzenie systemu na praktycznie golym dysku, wszystko ok ale juz od pierwszej chwili pojawily sie problemy -

Quote:
1. boot off a live-cd and repartition and create filesystems as necessary
2. eventually reboot, using option: gentoo docache
3. umount /mnt/cdrom


jesli bootuje z livecd to jak moge odmontowac /mnt/cdrom czy mozna jakos wymusic odmontowanie mimo ze jest zajety


Last edited by karaluch on Mon Nov 28, 2005 7:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
YANOUSHek
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 282
Location: Poznan, Poland;

PostPosted: Mon Nov 28, 2005 6:07 pm    Post subject: Reply with quote

Wpisujesz w konsoli cdcache (lub coś takiego) i wtedy możesz odmontować CD ;)
_________________
Janusz Bossy
http://digigal.art.pl
Back to top
View user's profile Send private message
karaluch
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 236
Location: Wrocław / Poland

PostPosted: Mon Nov 28, 2005 7:02 pm    Post subject: Reply with quote

Problem rozwiazany heh

http://gentoo.pl/content/view/28/ !!

A wasze zdanie o tym skrypcie ....
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Mon Nov 28, 2005 11:57 pm    Post subject: Reply with quote

Moje zdanie o tym skrypcie jest takie, że użycie partimage/g4u jest dużo prostsze.
Back to top
View user's profile Send private message
mziab
l33t
l33t


Joined: 01 Oct 2004
Posts: 629

PostPosted: Tue Nov 29, 2005 12:41 pm    Post subject: Reply with quote

Osobiście używam tego skryptu i jestem z niego zadowolony.
_________________
Gentoo Linux 10.0 | 3.2.1 | glibc 2.13 | gcc 4.5.3

mteam | mziab's blog | roslin
Back to top
View user's profile Send private message
Xywa
Guru
Guru


Joined: 23 Jul 2005
Posts: 531
Location: z Gentoowni

PostPosted: Sun Jul 09, 2006 9:22 pm    Post subject: Reply with quote

Właśnie ściagnełem ten skrypt i uruchmiłem.
I teraz mam pytanie:
1) Czy powinno się go uruchmić przy normalnie działającym systemie (jak to teraz zrobiłem), czy po uruchomieniu sytemu z płytki LiveCD?
2) Jak wygląda sprawa z AMD64, autor informuje że powinno działać OK (ewentualnie małe poprawki) - ja to uruchomiłem normalnie bez żadnych opcji, czy będzie dobrze?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum