Commit graph

11 commits

Author SHA1 Message Date
Branislav Susila
a04725b5bd
Update BackupAndUpdate.rsc
Added support for FTP and SFTP.
Modified definition of user variables into 3 blocks - (S)FTP settings, Email settings, Backup settings (therefore it seems a lot of changes, but many of those are just moved lines from one place to another).
Modified email sending logic - email may be sent even if it does not contain backup.
Modified upgrade go/no-go logic - now upgrade is performed if at least one of the backup storages succeeds (i.e. backup is sent at least to one of (s)ftp or email).
2021-11-14 16:10:55 +01:00
Branislav Susila
f9a099f7f8
Update BackupAndUpdate.rsc
Added option to upload backups via FTP.
Modified some part of the code (mainly Send email section and Cleanup section) to reflect on new conditions as when cleanup may be performed (it is not perfect though).
2021-11-12 09:13:29 +01:00
beeyev
f721acf4d7
Update BackupAndUpdate.rsc 2021-09-27 10:36:47 +03:00
tkozybski
c04387121e
rc version support
Current development version is rc4, but it's not recognized by the script, however I'm not sure what would be the version number on final release and It might see rc version as the newer one.
2021-09-24 09:04:02 +02:00
Alexander Beeyev
c034f75bb5 typo fixes 2021-04-30 22:39:29 +03:00
Alexander Beeyev
3869803716 Typo fixes 2020-10-16 21:45:43 +03:00
Alexander Beeyev
4dc1d7e475 The script was completely rewritten.
New features were added.
2020-04-18 18:01:15 +03:00
Alexander Beeyev
ad422b27b2 Backup name fixed 2020-04-15 13:20:59 +03:00
Alexander Beeyev
c96115eaa1 Slow network connection causes longer time for email to be sent, so script needs to wait a bit longer after sending email to get the right sendmail status.
Thanks @4ingiz for pointing out.
2020-04-13 23:38:03 +03:00
Alexander Beeyev
56c5ef5084 Small delay on the third step before sending final email. 2020-04-09 14:07:21 +03:00
Alexander Beeyev
17c9c9b3ae New version 20.01.20
Script was completely rewritten and became even better!
2020-01-20 20:42:40 +03:00