-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
readme-vars.yml
65 lines (50 loc) · 2.99 KB
/
readme-vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
# project information
project_name: rsnapshot
project_url: "http://www.rsnapshot.org/"
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/rsnapshot.png"
project_blurb: |
[{{ project_name|capitalize }}]({{ project_url }}) is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required."
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
# supported architectures
available_architectures:
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
# container parameters
common_param_env_vars_enabled: true
param_container_name: "{{ project_name }}"
param_usage_include_vols: true
param_volumes:
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" }
# optional parameters
opt_param_usage_include_vols: true
opt_param_volumes:
- { vol_path: "/.snapshots", vol_host_path: "/path/to/snapshots", desc: "Storage location for all snapshots." }
- { vol_path: "/data", vol_host_path: "/path/to/data", desc: "Storage location for data to be backed up." }
# application setup block
app_setup_block_enabled: true
app_setup_block: |
### IMPORTANT NOTES:
After starting the container you will need to edit `/config/rsnapshot.conf`.
#### SNAPSHOT ROOT DIRECTORY
rsnapshot is configured to backup data to the `/.snapshots` volume by default.
This can be changed in the config, but be sure you mount a volume to the container to match.
#### BACKUP LEVELS / INTERVALS
rsnapshot retains backups based on configurations in this section.
Please see the [rsnapshot readme](https://github.com/rsnapshot/rsnapshot/blob/master/README.md#configuration) for more information.
#### BACKUP POINTS
rsnapshot is configured to backup data from the `/data` volume by default.
This can be changed in the config, but be sure you mount a volume to the container to match.
### cron
You will then need to edit `/config/crontabs/root` to set cron jobs to run rsnapshot.
By default no cron jobs are enabled. Examples are includes based on information from the [rsnapshot readme](https://github.com/rsnapshot/rsnapshot/blob/master/README.md#configuration).
# changelog
changelogs:
- { date: "06.03.24:", desc: "Rebase to Alpine 3.20." }
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19, add root periodic crontabs for logrotate." }
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
- { date: "02.03.23:", desc: "Split cron into separate init step and set crontab permissions." }
- { date: "15.12.22:", desc: "Rebase to alpine 3.17." }
- { date: "11.10.22:", desc: "Rebase to alpine 3.16, migrate to s6v3." }
- { date: "10.10.21:", desc: "Rebase to alpine 3.14." }
- { date: "20.08.20:", desc: "Initial Release." }