How to copy /home directory for backup

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
RLN37
Level 1
Level 1
Posts: 5
Joined: Sun May 05, 2013 6:22 pm

How to copy /home directory for backup

Post by RLN37 »

When I try to copy /home to a backup device (a USB stick) I get this message: "Error while copying "lock". Filesystem does support symbolic links".
This makes it difficult or impossible to back up /home.
Can anyone provide some help with this problem? Thank you.

Baseball Bob

Redondo
Level 1
Level 1
Posts: 41
Joined: Tue Dec 15, 2009 12:19 pm

Re: How to copy /home directory for backup

Post by Redondo »

I have a small tar script that does the job:

Code: Select all

tar cfpvz ~YOURUSER/debs/tarzan.tgz --exclude=home/YOURUSER/debs --exclude=home/YOURUSER/.local/share/Trash --exclude=home/YOURUSER/.thumbnails ~YOURUSER
I put that script in the "debs" folder and run it. Then I copy to my usb drive. You could just as easily sub "debs" folder for the "media/USBDRIVE" and leave it there. What's nice about a tar file is that its easy to extract and file you want.

jdrs
Level 1
Level 1
Posts: 11
Joined: Wed Jul 25, 2012 1:25 pm

Re: How to copy /home directory for backup

Post by jdrs »

Use the Backup Tool (mintBackup).

Post Reply

Return to “Newbie Questions”