Score:0

How to rsnapshot keep mirror backup and 'retain' directories have only deleted and changed files

in flag

I'm triyng/testing rsnapshot in my Ubuntu desktop to make incremental backups from a remote server to my desktop.
I use a custom config file where I set retain alpha 7

I executed rsnapshot -V -c /path-to/rsnapshot-my1.conf alpha and the backup was successful to the directory alpha.0 (17GB)

After some hours I executed it again and got another full backup at directory alpha.0 and the previous one was rotated (moved) to alpha.1

For the time the second run took to complete I see rsync made its job and only downloaded new or changed files.
But rsnapshot first duplicated the alpha.0 directory to alpha.1 and then run rsync on alpha.0.
So I get large unnecessary amount of duplicated data (triplicated, and so on).

Is it possible to have a mirror backup directory and rotation directories only contain changed or deleted files/dirs?

Update
I realized that "duplicated" files are hard links.
Anyway I would like to have what I asked, if possible.

It's a bit confusing seeing some new wiki docs naming retain hourly 24 retain daily 7... and my default config file has retain alpha 6 retain beta 7...

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.