Can save some directories on a given interval. The save is just a .tar sent over ssh to your remote server with the name 'folder_DATE.tar.gz'. If a backup fails, an email is sent.
This is designed to save some files from an eventual ransomware. The backup directory should obviously not be accessible from your shared folders.
You'll need tar and scp, and an internet connection
Use a scheduler to run this once per day
- directory : path to the folder to save
- period : frequency to save year/month/week/day
- last_save : last save date. default to unknown
{
"tasks": [
{
"directory": "save_a",
"period": "month",
"last_save": "unknown"
},
{
"directory": "save_b",
"period": "day",
"last_save": "2017-05-10"
}
]
}
- ssh-host : ssh hostname (see your ~/.ssh/config)
- remote-dir : remote directory to save in
- save-to-keep : not used for now
- mail-smtp : smtp to use
- mail-from : from email
- mail-to : address to send the alert to
- debug : disable modifications on save.json
{
"ssh-host":"host",
"remote-dir":"~",
"save-to-keep":3,
"mail-smtp":"smtp.test.com",
"mail-from":"nas@test.org",
"mail-to":"me@test.org"
}