Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Synology Drive Multiple Task Functionality? Am I Missing It?

As an Amazon Associate, we may earn commissions from qualifying purchases. Learn more...

39
4
NAS
DS423+
Operating system
  1. Windows
Mobile operating system
  1. iOS
I've been using Synology Drive to back up my PC to my NAS. So far it's been working fine, but now I'd like to do a slightly more complex back up and can't figure out how to set up multiple tasks.... for instance I want the following.

PC Folders:
Folder A
Folder B
Folder C

NAS Target Shared Folders:

Share 1 (non-encrypted)
Share 2 (encrypted-mounted)

I want to set up one task to send Folder A and Folder C to Share 1.... and another task to send Folder B to Share 2. (Every night on a schedule)

----

Is this possible or do I need to buy a license for an alternative software?

Thanks,
Crab
 
1.) Python is the way:

Python:
#%%
import os
from re import U, purge
from dirsync import sync
#%%
#Task1
sync('C:/Users/Crab/FolderA', 'F:/Share1', "sync", purge=False)
sync('C:/Users/Crab/FolderC', 'F:/Share1', "sync", purge=False)
#Task2
sync('C:/Users/Crab/FolderB', 'G:/Share2', "sync", purge=False)
#%%
print ("Additive Copy Run Complete")


2.) Then create a bat file containing:


@echo off
"C:\Python310\python.exe" "C:\Users\Crab\Python_Codes\AdditiveCopyer.py"
exit 0

3.) Then use Windows Task Scheduler to run the bat
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Popular tags from this forum

Similar threads

Hello everyone I am testing a backup (not synchronization) that I can perform in Drive Client from a PC...
Replies
0
Views
105
Let me know if you want to donate your nas! 😊 Hope all goes well with the fam, thoughts go out to you & fam.
Replies
5
Views
173
  • Question Question
That still appears like it didn’t work. The log says all versions were deleted and the console shows only...
Replies
8
Views
1,447
At first it might, but those are too separate platforms, Drive being completely optional. Also, you might...
Replies
1
Views
542
Synology Drive Client allows to sync only one folder, that's fine. I though about creating symbolic links...
Replies
0
Views
696
The PC/Mac client works with NAS TCP port 6690, no matter whether you use the LAN IP, router's WAN IP...
Replies
12
Views
1,341
In Drive Admin Console go to Team folder, click on My Drive folder and enable version control.
Replies
2
Views
920

Thread Tags

Tags Tags
synology

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending content in this forum

Back
Top