Giter VIP home page Giter VIP logo

py4backup's People

Stargazers

 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

py4backup's Issues

Need log level and alert options

Hi. At this time there is no settings for log level and alerts on email. So I get a lot of notifications, even if there were no errors.

And please, costumize alert subjects. I always get alerts with "Backup completed on host", even if error occured.

can't recover backup to lvm

Hi.

I have problem with use a ddd in py4backup.

lvcreate -s -L1GB -n vm1-snap /dev/vg0/vm1
dd if=/dev/vg0/vm1-snap of=vm1-full bs=32M
lvremove /dev/vg0/vm1-snap

i change files in vm and

lvcreate -s -L1GB -n vm1-snap /dev/vg0/vm1
/opt/py4backup/ddd -f vm1-full -s /dev/vg0/vm1-snap -r vm1-diff
Total blocks:  1048577  Changed blocks:  1224
lvremove /dev/vg0/vm1-snap

i try to restore

/opt/py4backup/ddd --restore -f vm1-full -s vm1-diff -r /dev/vg0/vm1
Full backup: vm1-full
bs: 4096
Hash algorithm: None
Traceback (most recent call last):
  File "/opt/py4backup/ddd", line 28, in <module>
    corrupted_blocks = restore(diff_file=args.second, result=args.result, full_backup=args.first)
  File "/opt/py4backup/py4backup_lib.py", line 634, in restore
    write_result.write(full_data)
  File "/opt/py4backup/py4backup_lib.py", line 535, in write
    self.file.write(data)
OSError: [Errno 28] No space left on device

Help, please

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.