I have my system back up now and want to back it up. I would like to backup the full disk with tar except for the /tmp /media /proc /dev directories to a usb drive /media/SEAGATE. Could someone please write me the EXACT sytax to do this? The last time I tried this, I ended up filling up the disk I was backing up with nothing on the /media/SEAGATE drive even though I though I was following the help on tar I found on the internet. Art
On Thu, 2005-12-22 at 16:10 -0800, Art Fore wrote:
I have my system back up now and want to back it up. I would like to backup the full disk with tar except for the /tmp /media /proc /dev directories to a usb drive /media/SEAGATE.
Could someone please write me the EXACT sytax to do this? The last time I tried this, I ended up filling up the disk I was backing up with nothing on the /media/SEAGATE drive even though I though I was following the help on tar I found on the internet.
Art
Art, I just upgraded my 9.3 system to 10.0 today and part of the process was to back most of the system before hand. This is how I used tar to do that. cd / ls -1 > list (that is a one at the end) I then edited the file list to remove dir's I did not want to backup. Next came the tar command: tar cvfT /storage/backups/pc5 /list yours should be: tar cvfT /media/SEAGATE /list This will only backup the dir's that you have listed in the file /list Hope this helps. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
I get a "tar: /media/SEAGATE: Cannot open: Is a directory" error Art Ken Schneider wrote:
On Thu, 2005-12-22 at 16:10 -0800, Art Fore wrote:
I have my system back up now and want to back it up. I would like to backup the full disk with tar except for the /tmp /media /proc /dev directories to a usb drive /media/SEAGATE.
Could someone please write me the EXACT sytax to do this? The last time I tried this, I ended up filling up the disk I was backing up with nothing on the /media/SEAGATE drive even though I though I was following the help on tar I found on the internet.
Art
Art,
I just upgraded my 9.3 system to 10.0 today and part of the process was to back most of the system before hand. This is how I used tar to do that.
cd / ls -1 > list (that is a one at the end)
I then edited the file list to remove dir's I did not want to backup. Next came the tar command:
tar cvfT /storage/backups/pc5 /list yours should be:
tar cvfT /media/SEAGATE /list
This will only backup the dir's that you have listed in the file /list
Hope this helps.
On Thu, 2005-12-22 at 20:28 -0800, Art Fore wrote:
I get a "tar: /media/SEAGATE: Cannot open: Is a directory" error
Art
Please do not top post. See below.
Ken Schneider wrote:
On Thu, 2005-12-22 at 16:10 -0800, Art Fore wrote:
I have my system back up now and want to back it up. I would like to backup the full disk with tar except for the /tmp /media /proc /dev directories to a usb drive /media/SEAGATE.
Could someone please write me the EXACT sytax to do this? The last time I tried this, I ended up filling up the disk I was backing up with nothing on the /media/SEAGATE drive even though I though I was following the help on tar I found on the internet.
Art
Art,
I just upgraded my 9.3 system to 10.0 today and part of the process was to back most of the system before hand. This is how I used tar to do that.
cd / ls -1 > list (that is a one at the end)
I then edited the file list to remove dir's I did not want to backup. Next came the tar command:
tar cvfT /storage/backups/pc5 /list yours should be:
tar cvfT /media/SEAGATE /list
Change to tar cvfT /media/SEAGATE/some_file_name.tar /list or you can use cvzfT /media SEAGATE/some_file_name.tgz /list (the "z" means to use compression). -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
participants (2)
-
Art Fore
-
Ken Schneider