Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate rsnapshot/rbme functionality #65

Closed
dagwieers opened this issue Apr 12, 2012 · 2 comments
Closed

Integrate rsnapshot/rbme functionality #65

dagwieers opened this issue Apr 12, 2012 · 2 comments
Labels
discuss / RFC enhancement Adaptions and new features
Milestone

Comments

@dagwieers
Copy link
Contributor

Technically the most interesting backup solution is using rsync with rsnapshot/rbme alike functionality. We may want to implement just that by default instead of plain rsync.

@kpieth
Copy link

kpieth commented Apr 24, 2012

That would be really nice. Because it's not buldin, I implemented a very basic rsync incremental functionality for saving incremental "weekdays".

setting in local.conf:

BACKUP_RSYNC_OPTIONS=( "${BACKUP_RSYNC_OPTIONS[@]}" --force --backup --backup-dir=/$NETFS_PREFIX/$(date +%A) )

added to /usr/share/rear/backup/RSYNC/default/50_make_rsync_backup.sh

                               (rsync)
                                        # dc-systeme addon for incremental rsync
                                        if [[ "${BACKUP_RSYNC_OPTIONS[@]}" =~ "--backup" ]]
                                         then
                                                mkdir $TMP_DIR/emptydir
                                                LogPrint "Cleaning $BACKUP_PROG backup-dir '${RSYNC_PROTO}://${RSYNC_USER}@${RSYNC_HOST}:${RSYNC_PORT}/${RSYNC_PATH}/${RSYNC_PREFIX}/$(date +%A)'"
                                                $BACKUP_PROG --password-file=/etc/rsync.password --delete -a $TMP_DIR/emptydir/ \
                                                "${RSYNC_PROTO}://${RSYNC_USER}@${RSYNC_HOST}:${RSYNC_PORT}/${RSYNC_PATH}/${RSYNC_PREFIX}/$(date +%A)"
                                                rm -Rf $TMP_DIR/emptydir
                                        fi

not very nice, but maybe you can use it as an idea.

@gdha
Copy link
Member

gdha commented Jan 14, 2013

As RBME has been added into rear I guess we can close this request?

@gdha gdha closed this as completed Jan 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss / RFC enhancement Adaptions and new features
Projects
None yet
Development

No branches or pull requests

3 participants