Back ups your folder to your preferred local or network destination reading or creating a gitignore file.
Project description
backupp
backupp is a Python package that automates the backup of folders to a specified local or network destination. It intelligently utilizes or generates a .gitignore
file to manage which files or folders should be ignored during the backup process.
Installation
Install the latest version of backupp using pip:
pip install backupp -U # Alternatively, you can use pip3
Usage
Console (Windows) / Terminal (Linux/Mac)
To backup specific folders to a designated backup folder, use:
backupp /path/to/source_folder /path/to/backup_folder
Examples:
-
Backup a specific folder:
backupp /some_folder/that_folder my_backup_folder
-
Backup the current folder:
backupp . path/to_my_backup_folder
-
Backup the parent folder:
backupp .. path/to_my_backup_folder
Handling .gitignore
The backupp package searches for an existing .gitignore
file in the source directory. If it doesn't find one, it will create a default .gitignore
file. You can modify this file to customize which files or folders should be excluded from backups, similar to how Git uses .gitignore
.
Setup Global Backup Folder
To set a default backup folder, which can be used for subsequent backup operations without specifying a path each time:
backupp --setup /path/to/my_favorite_backup_folder
Backup to favorite folder
backupp path/source/somefolder
Backup current folder to favorite backup folder
backupp .
Check Backup Setup
To display your current backup configuration and preferences:
backupp --check
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file backupp-0.0.19.tar.gz
.
File metadata
- Download URL: backupp-0.0.19.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcc639a97a435b19f08b879f6b3480cae432a952c041d27ab4cd0a480277d725 |
|
MD5 | 2e98f8ceb6e4b52eac4dde44d65d39b9 |
|
BLAKE2b-256 | 1ee621767c1154791b8df8afa7e53e7028de3614ccdf7b553e1544a585c02fe4 |
File details
Details for the file backupp-0.0.19-py3-none-any.whl
.
File metadata
- Download URL: backupp-0.0.19-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a9519b8412ce3a61800043e2097e9480bd06de804a45b6c138d1e3efcdab41 |
|
MD5 | aec96a3ea81994ca4fbf7a7313112308 |
|
BLAKE2b-256 | 927166c92a1244839f757e4d05a65b0304eddec2d81a5598b091c630e5f4af9b |