

Message ( str) – Plain-text message to display.ĭatabase Endpoints ¶ class syncthing. The new error will beĭisplayed on any active GUI clients. Send an error message to the active client. The configuration will be saved to diskĪnd the configInSync flag set to False.
Syncthing ignore folder full#
Post the full contents of the configuration, in the same format as Set_config ( config, and_restart=False ) Returns:Įrase the database index from a given folder and restart Syncthing. Prefix = '/rest/system/' ¶ reset ( ) Įrase the current index database and restart Syncthing. With_method ( str) – uses a given HTTP method, options are

On ( str) – debugging points to apply enable. Returns:Įnables debugging for specified facilities.
Syncthing ignore folder upgrade#
Perform an upgrade to the newest released version and restart.ĭoes nothing if there is no newer version than currently running. Returns the contents of the local discovery cache. On ( str) – debugging points to apply disable. keys ()) 2 > 'enabled' in debug and 'facilities' in debug True > isinstance ( debug, list ) or debug is None True > isinstance ( debug, dict ) True disable_debug ( *on ) ĭisables debugging for specified facilities. Returns when there’s a newer version than the instance running. Returns a list of directories matching the path given. IP address that’s serving a Syncthing instance. address ( str) – destination address, a valid hostname or.add_discovery ( device, address ) ¶Īdd an entry to the discovery cache. System ( api_key, host='localhost', port=8384, timeout=10.0, is_https=False, ssl_cert_file=None ) ¶ Placeholder for HTTP REST API URL prefix. BaseAPI ( api_key, host='localhost', port=8384, timeout=10.0, is_https=False, ssl_cert_file=None ) ¶ message ¶Īlias for field number 0 class syncthing. Tuple: used to process error lists more easily, SyncthingError ¶īase Syncthing Exception class all non-assert errors will raise from. luckily, because i am paranoid, i made a hard-link duplicate of the backup before starting to delete files on the phone.Module ¶ exception syncthing. Just the other day i realized that for a new folder i had not set up ignore-delete. If you don’t specify 0.0.0.0 as your listening address, syncthing will only be accessible from 127.0.0.1 (i.e.


i can't see what's been uploaded to the backup-device unless i go look. it only tells me whether it downloaded everything from other devices which is less usefull, i can see which files are on the phone anyways. because the phones status does not tell me that. When i want to delete something on the phone i have to check on the backup-device to make sure that the file is backed up. so every time i have to wonder, did i set this up correctly?Īnd i have to check the status on both the phone and the backup-device to make sure all is right. also because it is not shown in the status. The point is that it's complicated and the 'ignore delete' is easily missed. but uni-directional still syncs both, only ignoring delete on the backup-device prevents syncing deletes. it should not sync deletes from the phone to the backup-device. That does not matter, backup should sync files from the phone to the backup-device.
