smeserver-BackupPC/root/etc/BackupPC/remoteArchive.conf

42 lines
1.2 KiB
Plaintext

# The host you to send archives to
remoteHost = remote.host.com
# The remote user to use for the ssh connection
remoteUser = root
# Destination directory, where the archive will be created
remoteDir = /tmp/
# Compression. Can be gzip, bzip2 or none
compress = gzip
# Encryption of the archives, using OpenSSL
# You can put here the name of the cipher you want to use
# To obtain a list of available cipher, run the command
# man enc
# eg: cipher = aes-256-cbc
# If encryption is turned on, .enc will be appended
# At the end of the archive's name.
# To be able tu use this archive talter, you'll have to
# decrypt it using the same key
# cat archive.tar.gz.enc | openssl enc aes-256-cbc -d -pass file:/etc/BackupPC/archive.key > archive.tar.gz
cipher = off
# The key file to use to encrypt the archive
# You should backup this key somewhere. If you lost it
# your archives will be unusuable
key = /etc/BackupPC/archive.key
# The backup number to archive, -1 means the last one
backupNum = -1
# The share to archive
share = '*'
# The hoststo archive, separate them with a space eg: localhost server1 server2
hosts = localhost
# The user who will receive the log of the archive, you can set a email address out of the server if you want
sendMailTo = admin