Skip to content

v0.2.6-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@judahpaul16 judahpaul16 released this 28 Apr 01:53
· 10 commits to main since this release

dirconfig 📂 v0.2.6-alpha Pre-Release - UrBackup Integration

I am excited to announce that dirconfig now integrates with UrBackup via a python wrapper for the urbackup API, enhancing your file configuration capabilities significantly. This new feature allows dirconfig to configure and manage UrBackup tasks directly, providing an automated, streamlined process for backing up your files all from a simple, easy-to-read YAML file.

Release Notes

  • UrBackup API Integration: Set up and manage your UrBackup tasks through dirconfig effortlessly.

Windows Executable Availability

The release now includes dirconfig.exe, a standalone executable for Windows users, removing the need to install Python to run dirconfig. To facilitate smooth operation, it's a good idea to add the executable to your system's PATH.

Adding to PATH for Easy Access

Here's how to add dirconfig.exe to your PATH, so you can invoke it from any command prompt:

  1. Search for 'Environment Variables' in the Start menu and select 'Edit the system environment variables'.
  2. In the System Properties window that appears, click 'Environment Variables'.
  3. Under 'System variables', find and select 'Path', then click 'Edit'.
  4. In the 'Edit environment variable' window, click 'New' and enter the directory where dirconfig.exe is saved.
  5. Click 'OK' to close all open dialogs.

With dirconfig.exe in your PATH, you can run the dirconfig command just as you would with the Python module.

Configuration Example for UrBackup

Add the following to your config.yml to configure UrBackup tasks:

backup:
  - name: Backup Important Files
    type: incremental-file # or incremental-image, full-file, full-image
    schedule: daily # or weekly, monthly
    retention: 7 # days to keep backups
    connection:
      server: http://your-backup-server:55414
      username: your_username
      password: your_password
    directories:
      - C:\path\to\your\important\directory
      - C:\path\to\another\important\directory

Remember to replace the placeholders with your actual server address, username, password, and the directories you want to back up.

Read the Docs

I updated the README to help you get started with UrBackup integration:

Get Started

Update to the latest version of dirconfig to start using UrBackup integration:

pip install --upgrade dirconfig

Create or update your config.yml, and run dirconfig start to enable your automated backup configurations.

Feedback

Your experience and feedback are valuable to me. If you encounter any issues or have suggestions, please open an issue on my GitHub repository.

Happy configuring, and secure backing up!

What's Changed

  • Now supports comma separated extensions + CI/CD fixes by @judahpaul16 in #6

New Contributors

Full Changelog: https://github.com/judahpaul16/dirconfig/commits/v0.2.6-alpha