Discussion - Rclone GDSa Sync Script | PlexGuide.com

Discussion Rclone GDSa Sync Script

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

peppoonline

Citizen+
Original poster
Donor
Dec 24, 2018
18
7
Hey guys,

as I am using multiple online copies of my ISO repository, I'd like to keep them in sync.
At the moment I am using rclone sync via a Windows VM in task planner.

But I keep hitting the 750GB limit....

Does anybody have a solution which utilizes GDSa's? Perhaps even a docker, so I could retire my Windows VM ? :)

Any help appreciated.
Dominik
 

peppoonline

Citizen+
Original poster
Donor
Dec 24, 2018
18
7
I like Backups :)
If I learned something in my 15 years in IT, then it's the value of Backups :)

I currently have my files (130TB) in 4 redundant points. 3x online and 1x offline in a NAS cluster.
 

peppoonline

Citizen+
Original poster
Donor
Dec 24, 2018
18
7
Little Follow-Up to you fellow scripters.... I can't get the sasync thing to work with crontab.

In my putty shell it works if:
cd /opt/sasync
./sasync set.all

There are different sets to call where the parameters are stored. So the script "sasync" has to call these "set files" to work.

How can I pack it into one line or to work with crontab in common?

Heeelp :)
 

Cthe1

Experienced+
Mar 5, 2019
105
38
Try testing if the script is executed at all :)
There should be no problems with executing scripts with external calls, aslong cron have the proper permissions.
 

peppoonline

Citizen+
Original poster
Donor
Dec 24, 2018
18
7
Ya, that's my main problem... I can run in with these 2 steps, or if I'm in the working directory /opt/sasync, but can't mange to get it working in one line....
 

Cthe1

Experienced+
Mar 5, 2019
105
38
Please show me the cron file. Think it has something to do with the option you are using and not using ""

Have you remembered to chmod the file with execution?

Normally i will use something like this, so i have the logfiles in file format and not in mailbox.
Code:
*/10 * * * * "/opt/sasync/sasync set.all"  >> /var/log/script_output.log 2>&1
 

peppoonline

Citizen+
Original poster
Donor
Dec 24, 2018
18
7
I actually got it working last night...

sudo crontab -e

#Sasysnc
0 */2 * * * cd /opt/sasync && sudo ./sasync set.all >> /tmp/mybackup.log
 
  • Like
Reactions: 1 user

Recommend NewsGroups

      Up To a 58% Discount!

Trending