Skip to content

Python module and script to back up a sqlite3 database using sqlite3's backup function.

License

Notifications You must be signed in to change notification settings

dunnesquared/sqlite3backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlite3backup

Python script and module to back up sqlite3 database using sqlite3's backup function.

To run the script, pass the absolute paths of the database file you want backed up and the file you want it backed up to. If the backup file does not exist and its parent directory is valid, then the backup file will be created on the first run.

python3 sqlite3backup.py  ~/myproject/src.db ~/myproject/backup.db

A backup.log file is created in the directory where the script is launched.

About

Python module and script to back up a sqlite3 database using sqlite3's backup function.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages