back_up
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
back_up [2012/08/04 16:46] – admin | back_up [2020/04/22 12:11] (current) – francesco | ||
---|---|---|---|
Line 1: | Line 1: | ||
[[CRON-APT]] | [[CRON-APT]] | ||
+ | |||
+ | [[configurazione]] | ||
[[pax]] | [[pax]] | ||
+ | |||
+ | [[rsync]] | ||
Per il momento, niente di ben complicato: | Per il momento, niente di ben complicato: | ||
Line 27: | Line 31: | ||
tar -cvzf diari_$(date +%j).tar.gz / | tar -cvzf diari_$(date +%j).tar.gz / | ||
- | mv diari_$(date +%j).tar.gz / | + | mv diari_$(date +%j).tar.gz / |
</ | </ | ||
Line 100: | Line 104: | ||
forse devo essere in root, il sudo non basta? | forse devo essere in root, il sudo non basta? | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Sul Dell T20 con Debian [fino ad aprile 2020] | ||
+ | |||
+ | |||
+ | < | ||
+ | francesco@DellT20: | ||
+ | |||
+ | @reboot ~/ | ||
+ | |||
+ | 01 04 * * 1-5 / | ||
+ | |||
+ | #59 23 * * * ./ | ||
+ | |||
+ | #59 02 * * * ./ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | francesco@DellT20: | ||
+ | -rwxr-xr-x 1 root staff 277 avril 1 2019 / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | francesco@DellT20: | ||
+ | #!/bin/bash | ||
+ | # script che mi copia ogni notte le directories | ||
+ | # /Mail e / | ||
+ | # Lo faccio eseguire da cron ogni sera alle 20. | ||
+ | |||
+ | tar -cvzf mail_istituto_$(date +%j).tar.gz ~/Mail ~/ | ||
+ | mv mail_istituto_$(date +%j).tar.gz ~/ | ||
+ | </ |
back_up.1344091589.txt.gz · Last modified: 2012/08/04 16:46 by admin