Skip to main content

Backup and restore for linux

Project description

Backup and restore for linux

This library is targeting to help writing backup, restoration and configuration scripts with minimum effort.

Example Usages

Backing up folders or files

from linuxbackup import *

Execute the script with argument backup or restore

python3 backup
sudo python3 restore

Executing shell

sh(cmd,check) is the same as,shell=True,check=check) shr is the same as sh except it only runs in RESTORE

shr('curl | sh')

Editing php.ini

php.write() #only executed in RESTORE mode

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for linuxbackup, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size linuxbackup-0.0.1-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size linuxbackup-0.0.1.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page