{"id":15282732,"url":"https://github.com/destrangis/davbackup","last_synced_at":"2026-02-05T10:03:36.682Z","repository":{"id":62566928,"uuid":"173605597","full_name":"destrangis/davbackup","owner":"destrangis","description":"Make backups of a DAV Server","archived":false,"fork":false,"pushed_at":"2022-03-26T10:45:19.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T22:50:04.661Z","etag":null,"topics":["backup","nextcloud","owncloud","pyhton3","webdav","webdav-client"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/destrangis.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-03T17:17:34.000Z","updated_at":"2022-12-02T05:11:58.000Z","dependencies_parsed_at":"2022-11-03T16:16:04.294Z","dependency_job_id":null,"html_url":"https://github.com/destrangis/davbackup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrangis%2Fdavbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrangis%2Fdavbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrangis%2Fdavbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrangis%2Fdavbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/destrangis","download_url":"https://codeload.github.com/destrangis/davbackup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245136354,"owners_count":20566586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","nextcloud","owncloud","pyhton3","webdav","webdav-client"],"created_at":"2024-09-30T14:38:13.100Z","updated_at":"2026-02-05T10:03:31.649Z","avatar_url":"https://github.com/destrangis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"DAVBACKUP\n=========\n\nDownloads an entire tree from a DAV server. This can be used to make backups from an owncloud/nextcloud server.\n\nUsage\n-----\n\nThe following output of the ``--help`` option shows the usage::\n\n    $ python3 davbackup.py --help\n    usage: davbackup.py [-h] [--config FILE] [--destdir DIR] [--start RMT_DIR]\n\n    Download content from DAV server.\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      --config FILE, -c FILE\n                            Specify a config file other than the default.\n      --destdir DIR, -d DIR\n                            Specify destination directory.\n      --start RMT_DIR, -s RMT_DIR\n                            Download only the specified subtree.\n\nConfiguration file\n------------------\n\nA sample configuration file is provided with the name ``davbackup.json.sample``. Rename and edit to suit your needs.\n\nThe configuration is a json file whose fields are self explanatory, except perhaps the ``nbackups`` field, explained below. Note that the password is base64 encoded. This makes it obscure, not secure, but the program is meant to be run on a trusted machine::\n\n    {\n        \"protocol\": \"https\",\n        \"server\": \"nextcloud.samplesite.com\",\n        \"username\": \"fred\",\n        \"password\": \"YWJyYWNhZGFicmE=\",\n        \"davstart\": \"/remote.php/dav/files/fred\",\n        \"nbackups\": 4\n    }\n\n\nThe field ``nbackups`` is the number of backups copy to keep. When the local directory exists already, it is presumed to contain a previous backup, and it is renamed with an extension .001, if a directory with a .001 extension exists, it is renamed to .002 and so on until the specified number of backups is reached. Directories that would have a higher number than the number of backups are simply deleted.\n\nInstalling\n----------\n\nUse the provided setup.py utility to install::\n\n    $ python3 setup.py install\n\nOr simply use `pip` to install from the the Pypi site::\n\n    $ pip install davbackup\n\n\nRunning\n-------\n\nOnce you have a valid configuration file as described above, just run::\n\n    $ davbackup --config \u003cconfigfile\u003e --destdir \u003clocaldir\u003e\n\n\nYou can use the arguments described above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestrangis%2Fdavbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdestrangis%2Fdavbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestrangis%2Fdavbackup/lists"}