Pectojin / duplicati-client

A command line client for controlling the Duplicati Server
GNU Lesser General Public License v2.1
75 stars 20 forks source link

Adds commands for pause and resume #19

Closed irgendwienet closed 3 years ago

irgendwienet commented 3 years ago

Adds just two new commands: pause and resume

Pectojin commented 3 years ago

Nice. It even works with arbitrary values like 57m or 23h.

There is one typo on the message Failed to pauase server, but I'll fix that since I'm going to patch in an extra field on duc status anyway so that we can see when the server is paused:

# duc status
Server       : http://localhost:8200
Server state : Paused
Server status: Backup_ProcessingFiles on backup 1