Coder Social home page Coder Social logo

backup's People

Contributors

dependabot[bot] avatar nafets227 avatar

Watchers

 avatar  avatar

backup's Issues

verify usage of root in docker container

using root is a security issue by definition.
when using rsync it may be needed to copy access rights and files of other users
when accessing the backup target, it may be unwanted, so keep the target files under a "backup" user.

Needs to be thoroughly investigated what's the best tradeoff between security and usability

Error in second backup of the day with --histkeep

When scheduling the second backup of the day, sometimes it fails with the message "found a newer backup yyyy/mm/dd.in-progress

This happens when the first backup started but did not complete, thus left the .in-progress directory.

Expected behavior is to reuse the .in-progress directory, update it and upon completion rename to yyyy/mm/dd without .in-progress suffix.

rclone / hardlinks eror

according to https://forum.rclone.org/t/rclone-hard-links-and-updated-files/2618 rclone does not behave well with hard links; we use hard links when doing history backups.

Our tests also showed that it overwrote previous versions, compromising the whole backup!

Possible workaround is to use --backup-dir parameter of rclone, forcing it to first move files to the backup-dir and then create a new file to write the downloaded content into. backup-directory is not really needed, so it can be delete after the backup.

Add option to reuse data of aborted history backup (.in-progress directory)

Especially when doing cloud backups, like copying OneDrive locally, all files already downloaded are valuable even if the complete backup did not succeed.

Idea is to have an option (e.g. --keep-in-progress) that avoids to delete the .in-progress directory before starting history backup.
It has to be considered if reusing also aborted backups (.in-progress directories) of previous days. The scenario here is a massive upload of data to OneDrive, where download may be too big to succeed in one day. Restarting next day from scratch will lead to an infinite loop with no backup.

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.