[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backup home directory



On Tue, 02 Nov 2010 13:15:50 +0100, Alex PADOLY wrote:

> Do you know a method to do a compressed image of home directory. I
> prefer a GNU method.

My one-liner to make a full backup:

***
tar -cvjf /data/backup/sm01/$(date '+%F').tar.bz2 /home/sm01 --exclude=.local/share/Trash --exclude=.thumbnails
***

That will create a (big) file under "/data/backup/sm01/2010-11-02.tar.bz2" of the 
whole "/home/sm01" minus the Trash folder and Thumbnails image cache.

Not an ISO image though, just a plain ".tar.bz2"

Greetings,

-- 
Camaleón


Reply to: