Author Topic: Creating a synced backup  (Read 7352 times)

Offline rmcellig

  • Member
  • ***
  • Posts: 207
  • Karma: 14
  • New Forum User
    • View Profile
Re: Creating a synced backup
« Reply #15 on: April 14, 2014, 11:10:58 am »
Thanks! Do you know if it is possible to be notified by email when an rsync j as completed successfully?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Creating a synced backup
« Reply #16 on: April 14, 2014, 01:57:39 pm »
you could run rsync from a script, and have it mail you depending on the generated exit code.

There's a script on this page:
http://barbz.com.au/blog/?tag=rsync
that look like it should do the trick.

Spoiler (click here to view / hide)
[close]

Obviously it needs a little editing :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec