Linux_Learner
New Member
Hi Linux pros,
I'm need to create a script and here's what it need to do:
1. SFTP to my Hosting Server (Linux) sftp [email protected]
2. Backup website accounts 1 at a time (This is due to server space).
3. Pull the backup to source server (Synology) and delete it in the hosting server after transfer.
4. Repeat step 1-3 until all accounts has been transferred successfully.
The script will be running from Task Scheduler in synology server.
Also I wonder if port forwarding is needed to do this?
Any help or direction would be appreciated.
I'm need to create a script and here's what it need to do:
1. SFTP to my Hosting Server (Linux) sftp [email protected]
2. Backup website accounts 1 at a time (This is due to server space).
3. Pull the backup to source server (Synology) and delete it in the hosting server after transfer.
4. Repeat step 1-3 until all accounts has been transferred successfully.
The script will be running from Task Scheduler in synology server.
Also I wonder if port forwarding is needed to do this?
Any help or direction would be appreciated.
Last edited: