Answer the question
In order to leave comments, you need to log in
Is there a backup download manager?
Hello.
On a linux server, cron creates daily tar.gz archives with database backups and files for several projects.
Is there a program for windows, preferably with a gui, that:
1) would work independently, loaded with the system, hung in the tray, or in services and did not require any additional actions, except for the initial setup
2) Could connect to the server via sftp
3 ) Downloaded a bunch of archives on a schedule (for example, every day at 01:00) from different directories, and possibly by a mask (for example, dump_ * .tar.gz)
4) She managed the storage of downloaded archives (for example, she stored archives for a week, and deleted older ones )
?
Answer the question
In order to leave comments, you need to log in
1) For these purposes, windows has a task scheduler that spins constantly and performs the necessary tasks at the specified time.
2) For the indicated purposes , the PSFTP utility will go (supplied with Putty )
3) See point 2.
4) The simplest batch file or script that deletes files from the directory by date.
As a result, in the task scheduler we create a task that will run the batch file.
The batch file calls psftp with parameters and this utility downloads archives.
After that, the batch file deletes all archives whose age is greater than the specified one.
As for ready-made software solutions - there are many backup programs that support sftp, but the problem is that they usually support uploading backups to an sftp server, and not vice versa.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question