- Jul 25, 2014
-
-
Per Cederqvist authored
-
Per Cederqvist authored
* fetch-work-pcfritz: Several partitions has moved from zfshomes to tmphomes.
-
Per Cederqvist authored
-
-
Removed sedesopim. Added perlis. Moved ftp to kelvin. Moved jabber to dijkstra. Removed eureka until properly configured.
-
* backup-one-task: Minor fix in condition for not pruneing.
-
-
* backup-one-task: Do not run pruneing step the first time a task is run. This removes an incorrect warning for task.
-
* fetch-backup-work: Remove backups of lenin and kilauea. Fetch stuff from stalhein instead of retired koeberg.
-
Per Cederqvist authored
* lysrdiff-restore: Initial commit of a script that can restore a single task in a reasonably controlled manner.
-
Per Cederqvist authored
* fetch-work-pcfritz: Several partitions has moved from david to zfshomes.
-
Per Cederqvist authored
* lysrdiff-status: Use -mtime instead of -ctime when computing the status summary, so that the info is correct even just after users have moved from one disk to another.
-
* fetch-backup-work: For mail, backup from bernadotte instead of lenin.
-
Per Cederqvist authored
* fetch-backup-work: Fetch stuff from koeberg instead of the retired nema. Don't back up deleted mail accounts. Back up eureka.
-
Per Cederqvist authored
Fetch stuff from koeberg instead of the retired nema. Don't back up deleted mail accounts. Back up eureka.
-
Per Cederqvist authored
* fetch-work-pcfritz: Remove /home/profiles.
-
* update-origin-server: New script. Updates the server part of the origin files for a category on a partion when the category has been moved to a new server. * Makefile (install): Added update-origin-server
-
Give info when exiting due to "finish" and "stop" files. Make location of "finish", "stop" and "hold" files configurable. * lysrdiff-settings: New script containing settings on "finish", "stop" and "hold" file location * backup-repeatedly: Load new settings file. Use configurable file locations. Give message regarding cause of exit. When exiting before a backup run has been started, regard it as an error. * backup-all: Load new settings file. Use configurable file locations. * Makefile (install): Added lysrdiff-settings.
-
* fetch-backup-work: lyscvs and lsvn comes from plantagenet, not stalingrad.
-
Per Cederqvist authored
* backup-repeatedly: Check for the "finish" and "stop" files after sleeping.
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
* backup-one-task: The removal of old increments did not work due to a bug in the rdiff-backup command line. (age): New constant. If the file "age" exists, it should contain something like "90D" and it will override the default of 120D.
-
Per Cederqvist authored
* lysrdiff-status: Use $CLONE instead of hardcoding "perm" when selecting which clone to display status for. The CLONE variable is still a hardcoded constant. :-)
-
Per Cederqvist authored
* backup-one-task: Use BatchMode and ServerAliveInterval when fetching the exclude file, to avoid hangs.
-
Per Cederqvist authored
The "start immediately if the previous backup took more than 24 hours" logic did not work since the flag file was never created. * backup-repeatedly: Touch the $LASTSTART flag file when a backup run starts, so that the --start-time option can work as intended.
-
Per Cederqvist authored
* backup-repeatedly: Exit immediately if the finish or stop file exists, and not after the long wait implied by --start-time.
-
Per Cederqvist authored
* backup-repeatedly: New option: --start-time, that specifies the hour and minute when the backup should start.
-
Per Cederqvist authored
* fetch-work-pcfritz: New file, for the installation at Ryttargårdskyrkan. * Makefile (install): Install it.
-
Per Cederqvist authored
* lysrdiff-sizechange.py: New script. Report the most recent size change of each backup task. * Makefile (install): Added lysrdiff-sizechange.py.
-
Per Cederqvist authored
New options --continue and --only-clone. Better remote watching of the status. * backup-one-task: Handle --only-clone. Adjusted to the new CLI of lysrdiff-set-status. * lysrdiff-set-status.py (open_socket): New function. (sendmsg): Use it to simplify code. (completion): New function. (Top level): New mandatory first argument: --status, --ok, --warning or --fail. * backup-all: Added --continue and --only-clone. * lysrdiff-monitord.py (now): New function. (Client.__init__): New API: use sock and peer arguments instead of accept_retval. Renamed the input buffer from __readbuf to _readbuf so that derived classes can use it. (Client.read_event): Fixed misnamed errno name. Track name change of _readbuf. (Client.got_eof): Track name change of _readbuf. (Client.write_event): Handle EAGAIN, ETIMEDOUT and EHOSTUNREACH errors. (Client.parse): Track name change of _readbuf. (Client.handle_cmd): New command: completed. (Client.dispatcher): New method. (Server.read_event): Track API change of Client. Set the new client socket nonblocking. (Vt100Client.__init__): Negotiate telnet to get a raw byte channel using WILL ECHO, WILL SuppressGoahead, DO SuppressGoahead. Use vt100 escape sequences to disable line wrap and query the screen size. Don't register with the dispatcher. (Vt100Client.parse): New method. Register with the dispatcher once the screen size report has arrived from the client. (Dispatcher.toploop): Write the curren time to vt100 clients every second. (Dispatcher.register_vt100): Position the cursor at the command line position. (Dispatcher.write_monitor_status): Format the status separately for each client, as their screen sizes may vary. (Dispatcher.format_monitor_status): New argument: client. Position the cursor properly. (Dispatcher.set_status): Use now() to simplify code. Don't crash if a client connection is found to be broken. Format the status separately for each client, as their screen sizes may vary. (Dispatcher.format_status_vt100): New argument: client. Truncate the status to the line length reported by the client. Position the cursor at the command line position. (Dispatcher.completed): New method.
-
Per Cederqvist authored
* fetch-backup-work: New categories: quota1, shafan and vesuvius.
-
Per Cederqvist authored
* lysrdiff-status: Handle GNU find version 4.3.3 and newer.
-
Per Cederqvist authored
* Makefile (install): Added lysrdiff-move-job.
-
Per Cederqvist authored
* backup-one-task: Removed special-case setting of remoterdiff for wrath (a local installation now exists) and manhattan (no backups are currently being taken).
-
Per Cederqvist authored
* Makefile (BINDIR): Changed to /opt/LYSrdiff. * backup-all: Changed prefix to /opt/LYSrdiff. * backup-one-task: Ditto. * backup-repeatedly: Ditto. * distribute-tasks: Ditto. * fetch-backup-work: Ditto. * lysrdiff-move-job: Ditto.
-
Per Cederqvist authored
LYSrdiff partitions are now named after both the disk and the partition, such as "2/0". Support cloning. Support watching the backup activity remotely. Various other fixes and improvements. * lysrdiff-status: Adapted to the new disk/part scheme, and the new double "--" in state files. Have a per-user state file, so that many users can use this script. * lysrdiff-set-status.py: New. Talk to lysrdiff-monitord.py. * lysrdiff-move-obsolete: New option: --auto-confirm. Adapted to the new disk/part scheme, and the new double "--" in state files. * lysrdiff-move-job: New. Move a job from one disk to another. (Actually, the old backup copy is left in place. Use lysrdiff-move-obsolete to deal with it.) * lysrdiff-monitord.py: New. Keep track of what each disk is doing, and provide a vt100-over-telnet interface to watch it remotely. * lysrdiff-label-disk: New. Create the lysrdiff.id file and the basic directory structure. Create space filler files that can be removed in an emergency. * lysrdiff-df: New. Run df on all mounted lysrdiff partitions. * fetch-backup-work: Fetch all of lenin:/home. * distribute-tasks: The lysrdiff argument is now on the form disk/part. * Makefile (install): Added lysrdiff-label-disk and lysrdiff-df. (install-one-task): Added lysrdiff-set-status.py and lysrdiff-monitord. * backup-one-task: Replaced the lysrdiffpart argument with disk and part arguments. Handle --only-prune. Log status using lysrdiff-set-status.py. Removed special-case remoterdiff for sedesopim. The parts of state file names are now separated by "--" intead of "-", to avoid confusion with categories and subcategories that contain a "-". Remove increments older than 120 days. Log the disk usage after a backup completes. Clone the backup to all mounted copies. * backup-all: Added --only-prune. The part argument is now a disk/part string, and the format of the lysrdiff.id file has changed.
-