Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186583
| From | Jochen Spieker <ml@well-adjusted.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: rsnapshot |
| Date | 2017-09-07 21:50 +0200 |
| Message-ID | <unaYi-4Ad-13@gated-at.bofh.it> (permalink) |
| References | <unabV-3Wb-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Pol Hallen:
>
> cat /etc/rsnapshot.conf
> [...]
>
> retain alpha 1
> retain beta 7
> retain gamma 12
> retain delta 10
alpha = daily
beta = weekly
gamma = monthly
delta = yearly?
> cat /etc/cron.d/rsnapshot
>
> 00 01 * * * root /usr/bin/rsnapshot alpha
> 30 3 * * * root /usr/bin/rsnapshot beta
alpha will be run daily at 01:00 am and beta daily at 03:30 am. Is this
what you want?
> 0 3 * * 1 root /usr/bin/rsnapshot gamma
This will be run every Monday at 03:00 ("weekly").
> 30 2 1 * * root /usr/bin/rsnapshot delta
This will be run on every first day of the month at 02:30 am.
You probably need something like this:
# Daily at 01:00 am
00 01 * * * root /usr/bin/rsnapshot alpha
# Weekly on every Monday at 03:30 am
30 3 * * 1 root /usr/bin/rsnapshot beta
# Monthly on every first day of the month at 03:00 am
0 3 1 * * root /usr/bin/rsnapshot gamma
# Yearly on January 1st at 02:30
30 2 1 1 * root /usr/bin/rsnapshot delta
You might want to tweak the times. You could also use sync_first which
makes this a little bit easier.
J.
--
Tony Blair is a hypnotised self-seeking scarecrow just like all the
rest.
[Agree] [Disagree]
<http://archive.slowlydownward.com/NODATA/data_enter2.html>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
rsnapshot Pol Hallen <deben@fuckaround.org> - 2017-09-07 21:00 +0200
Re: rsnapshot Jochen Spieker <ml@well-adjusted.de> - 2017-09-07 21:50 +0200
Re: rsnapshot Greg Wooledge <wooledg@eeg.ccf.org> - 2017-09-08 14:30 +0200
Re: rsnapshot rhkramer@gmail.com - 2017-09-08 17:20 +0200
Re: rsnapshot Pol Hallen <deben@fuckaround.org> - 2017-09-09 18:10 +0200
Re: rsnapshot Jochen Spieker <ml@well-adjusted.de> - 2017-09-09 23:00 +0200
csiph-web