Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

How to include Windows My Documents in backup

  Date: Dec 12    Category: Unix / Linux / Ubuntu    Views: 321
  

Currently I am using the following script to backup my Ubuntu Linux.

cd / ; mount -a; tar cvpzf
/media/Iomega_HDD/Our_Laptop_Ubuntu_Backup/backup_linux.`date +%Y%m%d`.tgz
--exclude=/proc --exclude=/lost+found --exclude=/media --exclude=/sys /;

As you can see, I am excluding everything under /media. But I want to include
the Windows My Documents (while continuing to exclude everything else under
/media) to this tar ball which is under /media/disk/Documents and Settings. Is
there anyway I can modify the above script to accomplish this? I know that I
can add another tar command to include just directory but I'd like to have it
all in one single tar file, if I can.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on How to include Windows My Documents in backup Or get search suggestion and latest updates.




Tagged: