Add basic remote backup functionality

This commit is contained in:
Fuxino
2023-05-28 21:30:40 +02:00
parent 0dd7b887f7
commit 38c090e257
3 changed files with 192 additions and 70 deletions

View File

@@ -1,14 +1,20 @@
#Example config file for simple_backup
# Example config file for simple_backup
[default]
#Input directories. Use a comma to separate items
[backup]
# Input directories. Use a comma to separate items
inputs=/home/my_home,/etc
#Output directory
# Output directory
backup_dir=/media/Backup
#Exclude patterns. Use a comma to separate items
# Exclude patterns. Use a comma to separate items
exclude=.gvfs,.local/share/gvfs-metadata,.cache,.dbus,.Trash,.local/share/Trash,.macromedia,.adobe,.recently-used,.recently-used.xbel,.thumbnails
#Number of snapshots to keep (use -1 to keep all)
keep=-1
# Number of snapshots to keep (use -1 to keep all)
keep=-1
# Uncomment the following section to enable backup to remote server through ssh
#[server]
#host=
#username=
#ssh_keyfile=