{"id":24941374,"url":"https://github.com/wtower/sysadmin-backup2","last_synced_at":"2025-03-28T17:42:51.426Z","repository":{"id":68185103,"uuid":"80609803","full_name":"Wtower/sysadmin-backup2","owner":"Wtower","description":"Console backup application","archived":false,"fork":false,"pushed_at":"2017-02-28T09:54:43.000Z","size":39,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T18:26:16.527Z","etag":null,"topics":["backup-cli"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wtower.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-01T10:28:50.000Z","updated_at":"2017-02-08T17:21:35.000Z","dependencies_parsed_at":"2023-05-02T16:01:34.291Z","dependency_job_id":null,"html_url":"https://github.com/Wtower/sysadmin-backup2","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wtower%2Fsysadmin-backup2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wtower%2Fsysadmin-backup2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wtower%2Fsysadmin-backup2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wtower%2Fsysadmin-backup2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wtower","download_url":"https://codeload.github.com/Wtower/sysadmin-backup2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246072196,"owners_count":20719270,"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-cli"],"created_at":"2025-02-02T18:22:31.847Z","updated_at":"2025-03-28T17:42:51.412Z","avatar_url":"https://github.com/Wtower.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"sysadmin-backup\n===============\n\nConsole backup application. Intended mainly for server administration.\n\n.. image:: https://img.shields.io/travis/Wtower/sysadmin-backup2/master.svg\n  :target: https://travis-ci.org/Wtower/sysadmin-backup2\n\n.. image:: https://img.shields.io/coveralls/Wtower/sysadmin-backup2/master.svg\n  :target: https://coveralls.io/github/Wtower/sysadmin-backup2\n\nFeatures\n--------\n\n- Configuration_ is YAML based\n- Full logging_ capabilities with multiple handlers_ available\n- Backup methods: tar and rsync\n- Lock process so backup can execute after an existing backup finishes\n- Auto-mount external device and open for encryption if encrypted\n- Mysql and postgres dump\n\n.. _Configuration: https://github.com/Wtower/sysadmin-backup2/blob/master/conf/sample.conf.yaml\n.. _logging: https://docs.python.org/3/library/logging.config.html#dictionary-schema-details\n.. _handlers: https://docs.python.org/3/library/logging.handlers.html#module-logging.handlers\n\nInstallation\n------------\n\nDownload and extract::\n\n  wget https://github.com/Wtower/sysadmin-backup2/archive/v2.0.0-beta.tar.gz\n  tar xvzf v2.0.0-beta.tar.gz\n  cd sysadmin-backup2-2.0.0-beta\n\nInstall python packages. You can use virtualenv (recommended) or system-wide (example on Ubuntu)::\n\n  sudo apt install python3-pip\n  sudo -H pip3 install -U pip setuptools\n  sudo -H pip3 install -U -r requirements.txt\n\nUsage\n-----\n\nMake sure to use python3::\n\n    (sysadmin-backup2) gkarak@neil ~/w/p/sysadmin-backup2 (dev)\u003e ./sysadmin-backup.py -h\n    usage: sysadmin-backup.py [-h] [-v] [--version] conf_file\n\n    sysadmin-backup\n\n    positional arguments:\n      conf_file   Configuration file\n\n    optional arguments:\n      -h, --help  show this help message and exit\n      -v          Verbosity level\n      --version   show program's version number and exit\n\n\nFor the configuration parameters see ``conf/sample.conf.yml``.\n\nCron entries sample::\n\n    PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\n\n    # m h  dom mon dow   command\n    0 5 * * * /root/sysadmin-backup2-2.0.0-beta/sysadmin-backup.py /etc/sysadmin-backup2/internal.conf.yml \u003e /dev/null\n    5 10-14/1 * * 1-5 /root/sysadmin-backup2-2.0.0-beta/sysadmin-backup.py /etc/sysadmin-backup2/external.conf.yml \u003e /dev/null\n\nVersion note\n------------\n\nThis is the Version 2 in Python 3. For Version 1.20 in C++ see `sysadmin-backup v1`_.\n\n.. _sysadmin-backup v1: https://github.com/Wtower/sysadmin-backup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtower%2Fsysadmin-backup2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwtower%2Fsysadmin-backup2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtower%2Fsysadmin-backup2/lists"}