Code Monkey home page Code Monkey logo

butterfly-backup's Introduction

๐Ÿ‘‹ Hi, I'm Matteo Guadrini ๐Ÿ‘‹

I'm a DevOps and Python/Rust developer.

Python and Rust development is my passion as well as my job.

  • author of nosqlapi, pyreports, PSCouchDB, fontpreview, dinosay, mkpl...
  • writes high quality utilities to optimize terminal productivity
  • wrote them to spend more time with his kid than at a computer
  • he studies Rust to write and build a better software

Donate with paypal Donate to Telethon

Matteo Guadrini's GitHub stats
Streak stats
Top Langs

References

CV: https://matteoguadrini.github.io

butterfly-backup's People

Contributors

codacy-badger avatar matteoguadrini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

butterfly-backup's Issues

Restore a single file...

Hello,

This looks really promising but I would like to be able to restore a single file (or multiple, but not all) from a backup. I've read the documentation and it's not obvious if this is possible. I see the export command could be a possibility but the only option without exporting the whole backup is to use excludes.

Thanks!

Butterfly Buckup enhancement

Description

Use ssh-config to parse ssh hosts, edit documentation to differentiate between host aliases configured in ~/.ssh/config vs FQDN hostname

Impacted action

backup | restore | config

Proposed names of the parameters (short and long)

  • name parameter - maybe add an argument for ssh-host vs FQDN hostname
  • possible argument(s) - host

Additional context

Butterfly Buckup bug

Description

Custom Port Argument does not seem to work, says "Error port 22 on yoga3 is closed"

Steps to Reproduce

bb backup --ssh-port 9992 --computer yoga3 --destination /mnt/Barracuda1/ --type Unix --mode Full --data System

Expected Behaviour

ssh's successfully

Your Environment

  • Butterfly Backup version used: 1.8.0
  • Operating System and version: Fedora 34

Additional context

yoga3 is configured in ~/.ssh/config as follows:

Host yoga3
    Hostname 192.168.1.8
    Port 9992
    User raghav
    IdentityFile ~/.ssh/yoga3
    ServerAliveInterval 120
    ForwardAgent yes

The port should automatically be detected from the ssh config but isn't. Supplying it myself does not seem to work either.

ssh yoga3 works as expected

Butterfly Backup : differential backup seems to behave like full backup

Description

I was successfully daily backing up a single directory tree using the 'differential' mode:
bb backup --computer Mint-Didier --destination /media/didier/MyDrive --mode differential --custom-data /media/didier/Disk_A/Data_A --user didier --type unix --retention 7 7 --skip-error --exclude EXCLUDED
As expected, after the first backup, the used space on 'MyDrive' is increasing very slowly, following the space took by the modified or new files.

I'm now intending to daily backup 3 directories located on 2 disks:
bb backup --computer Mint-Didier --destination /media/didier/MyDrive --mode differential --custom-data /media/didier/Disk_A/Data_A /media/didier/Disk_B/Data_B1 /media/didier/Disk_B/Data_B2 --user didier --type unix --retention 7 7 --skip-error --exclude EXCLUDED
In this configuration the used space is increasing daily of the full size of the directories backed up (ie. Data_A + Data_B1 + Data_B2). It is like if BB performed a full backup every day.

Steps to Reproduce

See the command above.

Expected Behaviour

For a differential backup the used space should increase only following the space took by the modified or new files.

Your Environment

  • Butterfly Backup version used: 1.10.0
  • Operating System and version: Linux Mint 21.2, kernel 5.15.0-91

Additional context

Thank you anyway for your efforts to propose this nice tool !

Butterfly Backup enhancement : text file for the '--custom-data' command ?

Description

For the 'backup' mode there is an option [File_list.txt] that allow to use a text file in case of several hostnames, to be backed up.
It would be useful to have the same option for the '--custom-data' command. I'm intending to daily backup up to 5 directory trees.In that case the command line starts to be very long, with the full path of each directory, and so difficult to read and to maintained.

Impacted action

backup

Add tests

To instill confidence in the project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.