Skip to main content

Back ups your folder to your preferred local or network destination reading or creating a gitignore file.

Project description

backupp

Python package

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


Download files

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

Source Distribution

backupp-0.0.19.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

backupp-0.0.19-py3-none-any.whl (29.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page