meta data for this page
This is an old revision of the document!
sudo apt-get install duply python-paramiko
Create backup profile:
duply gitlab create
Profile file $HOME/.duply/gitlab/conf
was created.
Generate random password:
openssl rand -base64 20
- ~/.duply/gitlab/conf
#GPG_KEY= GPG_PW='<generated passsword>'
Configure backup section:
- ~/.duply/gitlab/conf
TARGET='scp://gitlabbackup@192.168.0.230//mnt/backup/gitlabbackup' SOURCE='/' MAX_AGE=6M VOLSIZE=256 DUPL_PARAMS="$DUPL_PARAMS --volsize $VOLSIZE " # Specify different id_rsa file: DUPL_PARAMS="$DUPL_PARAMS --ssh-options=-oIdentityFile='/root/.duply/gitlab/id_rsa' "
- ~/.duply/gitlab/exclude
+ /etc/gitlab + /opt + /home + /root - **
Start the backup
sudo duply gitlab backup --progress
duply gitlab status
duply gitlab list
duply gitlab verify # long operation