Can someone please tell me how to do the back up into an external hard-drive.
Please give the commands as i am a newbie.
Please also tell me how to delete the backup.tgz on my root folder, which was incompletely done, but has occupied the entire space.
Of course, since the file in question is in the root directory, you'll need superuser privileges to remove it.Code:
Please notice that I gave the absolute path to the file in the command. Alternatively, I could have navigated to the root folder (cd /) and then simply used the file name.Code:
sudo rm /tar.gz
1. When giving the file name for your backup (the -f option of tar), you have to include the path to your external drive. It could be mounted any number of places, but my best guess is the /media directory. To check, as well as to see what it's named, use the list command:
Mine is within /media, and it is named "Expansion Drive", so in my case, the file portion of the command would be:Code:
(Because of the space in Expansion Drive, I had to use a backslash.)Code:
-f /media/Expansion\ Drive
2. You probably don't want to back up your external drive, so make sure you exclude it from the backup. (See the manual entry for tar on details of the exclude options.)
This thread is closed.
The information is now held on the community wiki at
Thank you for your thread and the work you have done in keeping it current and of use to the community.
Support threads regarding the wiki and it's content should be created in a suitable forum.