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

Re: how to backup to an encrypted usb drive? [OT: rsync metadata]



>> On 11/14/18, Reco <recoverym4n@enotuniq.net> wrote:
>>> If you're content with losing all this metadata in your backup - there
>>> are rsync, cpio or tar. Or all those ‘backup solutions' based on those.

>> On Wed, Nov 14, 2018 at 12:52:57PM -0500, Lee wrote:
>> Do I need all that metadata?  This is for me at home so it's pretty
>> much a single user machine.

> On Nov 14, 2018, at 10:26 AM, Reco <recoverym4n@enotuniq.net> wrote:
> That's for you to decide. I'd say you definitely need it for the backups
> of / and /var and can *probably* skip it for /home, but YMMV.

Don’t the options for rsync -aAHX preserve all the metadata?  Is there something besides

    -a archive mode; equals -rlptgoD (no -H,-A,-X)
    -p preserve permissions
    -g preserve group
    -o preserve owner
    -l copy symlinks as symlinks
    -t preserve modification times
    -A preserve ACLs (implies -p)
    -H preserve hard links
    -X preserve extended attributes


?

Reply to: