Whats the best way to backup gentoox? ** Native Install **
Whats the best way to backup gentoox? ** Native Install **
Would like to backup the system.
Is it as simple as copying the drive with gentoox on?
Any help would be appreciated
cheers
scooby
Is it as simple as copying the drive with gentoox on?
Any help would be appreciated
cheers
scooby
Last edited by scoobydu on Wed Apr 07, 2004 9:53 am, edited 1 time in total.
If you're concerned with storage space, it might be a good idea to rm the contents of /usr/portage/distfiles beforehand. If you plan on later compressing the rootfs you will get a tighter archive, as these files (mostly) have already been compressed (and are easily replaced).
to delete the archives and
to get them all back, but don't do that, it's hard on the mirrors! They will just be downloaded as needed.
Code: Select all
rm /usr/portage/distfiles/*
Code: Select all
emerge world -ef
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
you need to create a tar of your filesystem you can't copy proc so you'll have to recreate that directory again if you restore from the backup.
Use
tar -jcvf /path/to/tar/file.tar.bz2 /boot /bin /etc (and so on for each folder in your root missing out /proc)
Use
tar -jcvf /path/to/tar/file.tar.bz2 /boot /bin /etc (and so on for each folder in your root missing out /proc)
If you keep an open mind, will your brain fall out?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK