46 lines
617 B
Markdown
46 lines
617 B
Markdown
# duplicacy-scripts
|
|
|
|
These scripts are called usually with cron with something like the following
|
|
```
|
|
0 0 * * * /root/duplicacy.sh
|
|
```
|
|
|
|
### Duplicacy init setup
|
|
```
|
|
cd /
|
|
duplicacy init <hostname> sftp://duplicacy@gauntnas.home.johnhgaunt.com//mnt/data-pool/backups/duplicacy/data
|
|
duplicacy set -key ssh_password -value <ssh password>
|
|
```
|
|
|
|
### Filter file contents
|
|
|
|
#### GauntBitwarden
|
|
```
|
|
i:opt/bitwarden/.*
|
|
```
|
|
|
|
#### GauntNAS
|
|
```
|
|
i:etc/version
|
|
i:data/.*
|
|
i:root/.*
|
|
```
|
|
|
|
#### GauntPlex
|
|
```
|
|
i:etc/.*
|
|
e:root/\.cache
|
|
i:root/.*
|
|
i:var/$
|
|
i:var/lib/$
|
|
i:var/lib/plexmediaserver/.*
|
|
e:.*
|
|
```
|
|
|
|
#### GauntRouter
|
|
```
|
|
i:cf/.*
|
|
```
|
|
|
|
|