hello, i need to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc
nah im moving the files only to a dev server for client no plesk or nothing on it, just basicly he wants files locally so need to do it via shell on plesk server (the dev box is windows so ive got a share mounted on plesk already just need to move files - theirs more than just those domains on server so i cant just move the entire vhosts folder
If you would like to copy the files from Linux server to Windows machine, install 'cyg-win' on your Windows server. CYG-WIN will give you a Linux kind of an environment on the Windows machine using which you can even schedule backups on daily basis.
Using rsync you can easily copy files from your Linux server to the Windows machine. Below is the command you can schedule on your Linux machine: