Backup over ssh windows


















This is important so that your backups can run without needing someone to enter a password every time. Make a bat file on the windows box. If that backup. You could potentially run this backup. You may want to look into Task Scheduler on Windows, but I prefer something a little more basic. Create a shortcut in your "Startup" folder. Everything in this folder will run when you login. Right click in this folder and Create Shortcut with this command. That should be it. Next time, and every time, you login your computer should, invisibly, run backup.

Much of the rsync instructions are thanks to rsync. After the above configuration, login to BackupPC web interface and add your Windows host system and the user for backups.

Next, create the Host configuration file based on whether you are using hostnames or IP addresses. For example, to create the configuration file for the host above;.

Now, set the Share Name to backup MyDocuments , the protocol to use rsyncd , directories or files to exclude if any. Also, the backup user and password. See the sample configuration file below;. Once done with the configuration, you can now run the system backup. Based on the above logs, the backup was successful. CLick browse backups to see the files and directories backed up. You have successfully backup the data from you Windows host.

Save my name, email, and website in this browser for the next time I comment. Imagine having VPS servers and being able to run a daily task to backup everything on every server to a central server, which then uses backblaze or another service to backup. When running for the first time, a user and password is requested and stored in a protected data file for the current user. Subsequent runs will detect the file and use the user name and password automatically.

Plain text passwords are avoided. This file is saved in the root backup folder. It is assumed that the user and password exists on all the hosts specified, this requires you to use the same user name and password on all machines, so make sure the user name is not root and the password is complex.

Subsequent runs will check the last write time UTC timestamp of files and compare to the local files before downloading. Each backed up file writes to a temp file, and only upon successful completion of the download, renames to the final file name.



0コメント

  • 1000 / 1000