On 23-Feb-2009, at 01:27, Louis-David Mitterrand wrote:
Presently I have the latest full backup in a 'current' directory and 30
day incrementals in 'YYYY-MM-DD' format directories. Without changing
that directory structure I'd like the 'YYYY-DD-MM' directories to
contain the full system hardlinked (when applicable) to 'current'.

What rsync command-line options could provide me with this?

I use:

/usr/local/bin/rsync -aCHh --delete-after --delete-excluded \
    --exclude="/backup/" --exclude-from=/var/.rexcludes \
    --link-dest="${BAKLOC}.1" / ${BAKLOC}.0

where $BAKLOC has been defined.  You could certainly modify it to do
--link-dest="${YDAY} / current


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to