Code Monkey home page Code Monkey logo

rsync-snapshot's Issues

Unknown Output Logged via Text Logger

Unknown Output {"msgType":"warning","warning":"rsync warning: some files vanished before they could be transferred (code 24) at main.c(1196) [sender=3.1.2]"}

Deal with time jumping around

Rsync --info=progress2 seems to specify 2 times, elapsed time and some wildly incorrect eta?

Decide what to do about this, might just use my own calculation of elapsed time

Breaking Changes

A comment will be made on this thread every time a breaking change is made (although I do not plan on making any).

Subscribe to be notified.

Warnings and Errors false positives

Warning and error detection is flaky

Logged as warnings:

  • sending incremental file list
  • Empty Folders Ex: var/spool/postfix/private/ifmail
  • created directory (at the start after sending incremental file list when creating snapshot dir)
  • Symlinking? Ex:
    • usr/lib/i386-linux-gnu/libtasn1.so.6 -> libtasn1.so.6.5.4
    • snap/mailspring/140/usr/share/icons/Humanity/emblems/24/emblem-shared.svg -> ../../apps/24/gnome-session-switch.svg
    • usr/src/linux-headers-4.13.0-32/scripts/dtc/include-prefixes/arc -> ../../../arch/arc/boot/dts
    • var/snap/mailspring/current -> 140

Logged as errors:

  • Directories/files ending in error Ex: var/spool/postfix/private/error

Correctly detected warnings:

  • skipping non-regular file "var/spool/postfix/dev/random"

Allow machine/local time in logs and on snapshot dir name

Enhancement

logs use 24hr gmt for timestamp. That might be fine for some uber sysop running dozens of machines across multiple time zones but for little guys like me I much prefer the machine/local time. Yes I can subtract/add but it sooo much easier to glance at local timestamps to see if things came out ok. Can you please add an option to use machine time in log timestamps and for the directory of the snapshot. Thx

Feature Completion Status

The status of planned features can be seen below:

  • Basic Backup Functionality
  • JSON Output Mode
  • Text Output Mode
  • Incremental Backups
  • Logging to file
  • Logging levels
  • Deletion of Backups after more than N exist
  • Script Hooks

Refactor Codebase

I am unhappy with how this codebase turned out as a result of sort of throwing features in haphazardly.

It could be cleaned up a lot, especially how the loggers are implemented. Loggers should probably be split into their own package.

Test Local Backups

Local Backups need to be tested. I have only been testing over SSH so far.

Enhancement - Add smart remove like BIT

enhancement

the maxsnaphosts is an ok management for now but it would be nice to have something more like what BackinTime has

image

for starters just a --smartremove which would keep
all in current day, one a day for last 7 days, one a week for last 4 weeks, one a month for last 12 months and one a year. (by default)

then later allow those defaults to be customized

Don't mkdir -p

This behavior can have a unintended side effect of creating entire directory trees (ex: a drive isn't mounted).

Throw an error instead.

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.