[SOLVED] Remote sync (all in my mind, sorry)

diaolin

Renowned Member
Jul 7, 2008
341
8
83
Trentino Italy
How can i change the time of a remote sync ?

I will start it at a precise time if possible, is it?

And, is it possible to set a duration? Max time

Tx, Diaolin
 
Last edited:
Found, i could write the time in the interface
i didn't see that the field was writeable

is possible to write time
19:00
and day
mon,wed,fri

Is it true?

Written and it does no error

schedule mon,wed,sat 19:00
is even permitted.

Remains the question: could i define a duration?
Or is it possible to stop via command line a running job?
Found the documentation after the probe.

And when all seems to be a tragedy, read the documentation! :cool:

Many tx, Diaolin
 
Last edited:
For the moment i'll stop the sync this way

Code:
#!/bin/bash
LIST=$(proxmox-backup-manager task list --output-format json-pretty |grep upid | awk '{print $2}')

for nome in "$LIST"
do
    echo "stopped ${nome%?}" >>/root/stopped.log
    proxmox-backup-manager task stop "${nome%?}"
done

Bye
 
I want to stop it because it does too much traffic during the work day
My pbs in Italy is 16Tb
and my remote is in Germany

I've seen that stopping and restarting the consistency will be resumed after a while

Diaolin
 
My pbs in Italy is 16Tb
Hello fellow Italiano :)

and my remote is in Germany
Hetzner? :)

Is it possible to suspend?
Hmm, no, that's currently not really possible.

But why don't you set the schedule up such that it only starts a sync outside the work time?

Another work around could be setting up rate-limiting (for example, with iptables of nftables), maybe even just during work hours.
It's not too ideal, but could avoid that your network gets clogged.
 
Hello fellow Italiano :)

fellow? yeah, of course


yeah

Hmm, no, that's currently not really possible.

But why don't you set the schedule up such that it only starts a sync outside the work time?

is it but it's big (the first)

Another work around could be setting up rate-limiting (for example, with iptables of nftables), maybe even just during work hours.
It's not too ideal, but could avoid that your network gets clogged.
No, i stop it at the morning and when the first is ok than i let it work always.

A question: pve has a rate limit for it's backup in vzdump.conf
and pbs, in the sync i mean?

Tx