Scripts

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2017-08-14
21:51
Add support of ``CALL`` event to SMSd event handler. Leaf check-in: 065c67c0c0 user: ivan tags: trunk
2017-08-12
11:45
Add script for forwarding SMS to e-mail using SMS Server Tools 3. check-in: 447d1acff1 user: ivan tags: trunk
2015-05-06
23:16
Summary: Add authorship years. check-in: dce8355cd1 user: ivan tags: trunk
23:12
Summary: Use ``iptables -w`` option to handle concurrent execution.    This avoids complaints about other program holding the xtables lock. check-in: b5ed73b411 user: ivan tags: trunk
2012-11-10
20:17
Use temporary filesystem mount point right under ``/var/run``.    On modern systems it's a volatile directory. check-in: b5291d0fe5 user: ivan tags: trunk
2011-09-09
16:03
Added index page for docs in Catalan. Leaf check-in: 304972bf30 user: ivan tags: trunk
15:52
Link from doc pages to the actual scripts. check-in: 467b1740bd user: ivan tags: trunk
15:46
Moved doc pages to www. check-in: 96abbcf21b user: ivan tags: trunk
15:39
Added script documentation pages in Catalan. check-in: 8675a7b5f1 user: ivan tags: trunk
2011-08-19
16:25
Better kernel version checking in ``local-iptables`` to cope with Linux 3.0. check-in: 1bb7eee670 user: ivan@selidor.net tags: trunk
2011-04-02
09:27
Sync before removing each snapsot volume. check-in: 545289d291 user: ivan@selidor.net tags: trunk
2009-12-22
14:53
Flush all chains before deleting user-defined ones in ``local-iptables``.    Otherwise, deleting of existing user-defined chains failed if it had or was referred by existing rules. check-in: 1685414f6a user: ivan@selidor.net tags: trunk
2009-09-09
17:49
Dereference symlinks when calling ``stat``.    As a nice surprise, last Debian update turned ``/dev/mapper/VG-LV`` files from nodes to symlinks, so it was impossible to locate LVM volumes. check-in: eee468b836 user: ivan@selidor.net tags: trunk
2009-08-18
16:22
Uploading local changes to shared repository. check-in: fee659e9f6 user: ivan@selidor.net tags: trunk
2009-08-16
00:21
Show snapshot usage on cleanup. check-in: 43fd71b51f user: ivan@selidor.net tags: trunk
2009-08-15
22:59
Use normal ``$IFS`` inside loop (not needed, but may avoid surprises later). check-in: 4036919c8f user: ivan@selidor.net tags: trunk
22:50
Make sure that we only remove the snapshots we created.    Otherwise, including a non-mounted LVM volume in the filesystems list would result in it being REMOVED on cleanup!! :( check-in: 233379bfe4 user: ivan@selidor.net tags: trunk
17:59
Use the call to ``lvs`` to get the volume group and logical volume.    Then we use them to construct paths and names. check-in: 261579b762 user: ivan@selidor.net tags: trunk
17:24
Not everything under ``/dev/mapper`` are LVM volumes (e.g. RAID, Multipath).    Run ``lvs`` on the device and test exit code instead of doing ``/dev/mapper/VG-LV`` to ``/dev/VG/LV`` conversion. check-in: cf8440f63b user: ivan@selidor.net tags: trunk
17:03
Simpler ``/dev/mapper/VG-LV`` to ``/dev/VG/LV`` conversion using ``lvs``. check-in: 62147c2259 user: ivan@selidor.net tags: trunk
16:34
Declare function variables local. check-in: 563e893b05 user: ivan@selidor.net tags: trunk
12:37
Fixed snapshot removal error message. check-in: 8d1cd173da user: ivan@selidor.net tags: trunk
2009-08-04
19:16
Uploading local changes to shared repository. check-in: 723fa94b2e user: ivan@selidor.net tags: trunk
2009-08-02
22:42
Include “Fatal” header in halting messages.    This makes Backupninja consider the backup run failed. check-in: b23c45edb3 user: ivan@selidor.net tags: trunk
22:09
Prefix all message lines so that Backupninja shows them all. check-in: b99c9d16e1 user: ivan@selidor.net tags: trunk
22:00
Halt the backup run when backup filesystem is already mounted. check-in: e52acd95b5 user: ivan@selidor.net tags: trunk
20:02
Changed location of configuration files.    The ``default`` location is more for init scripts. check-in: 30bdad8b79 user: ivan@selidor.net tags: trunk
19:36
The old LVM snapshot scripts are no longer needed. check-in: 14c6f984f3 user: ivan@selidor.net tags: trunk
16:33
Check that the backup filesystem isn't one of those we're backing up. check-in: 03ac0b0a9a user: ivan@selidor.net tags: trunk
16:10
Avoid ``fsdir`` cleanup to fail on empty ``$FSDIR_TMP``.    Now we use ``find`` and ``$IFS`` to iterate over it. check-in: 4728c0ee22 user: ivan@selidor.net tags: trunk
16:05
Fix quotes in ``$IFS`` restoration. check-in: a5449af50b user: ivan@selidor.net tags: trunk
15:52
Checking or unmounting the backup filesystem only makes sense if it's mounted. check-in: bd489e5387 user: ivan@selidor.net tags: trunk
13:59
Avoid error check conditionals since they are *not* errors.    They may simply represent states of a partially completed action. check-in: 60fb53ae23 user: ivan@selidor.net tags: trunk
13:51
Added script for ensuring that ``rdiff-backup`` fails if actions failed. check-in: 03fe3807f3 user: ivan@selidor.net tags: trunk
12:31
Added backup filesystem cleanup script.    Could have been simpler (just unmounting), but I wanted to be more precise with error messages. check-in: 9c9e562dc1 user: ivan@selidor.net tags: trunk
12:22
Check that securing directories worked (may fail on RO filesystem). check-in: 9c804dd4e9 user: ivan@selidor.net tags: trunk
12:18
Disabled test code and check for backup directory. check-in: eef8b2b995 user: ivan@selidor.net tags: trunk
2009-08-01
17:18
Initial code for actions mounting and unmounting a backup filesystem. check-in: d3aa39010f user: ivan@selidor.net tags: trunk
17:05
Fix message with wrong quotes. check-in: 04af0da06a user: ivan@selidor.net tags: trunk
2009-07-30
22:07
Work around ``mountpoint -q DIR`` bug. check-in: e64b7550e3 user: ivan@selidor.net tags: trunk
21:51
Horrible error: looked up device of mountpoint *after* unmounting it! X(    Of course, this didn't show when running in test mode, since unmounting was simulated and the retrieval of the device work as expected. Nice Heisenbug! check-in: 73e7816b05 user: ivan@selidor.net tags: trunk
21:43
Use ``readlink`` to canonicalise device file names.    Otherwise it didn't work with non-symlink devices. check-in: 4d96e3e0cb user: ivan@selidor.net tags: trunk
2009-07-27
22:37
Avoid second error message when filesystems dir is mounted. check-in: b02c574bbd user: ivan@selidor.net tags: trunk
22:21
Use ``lvdisplay`` to convert ``/dev/mapper/VG-LV`` into ``/dev/VG/LV``.    This version doesn't have problems with non-LVM entries under ``/dev/mapper``. check-in: 1474fdcf3b user: ivan@selidor.net tags: trunk
2009-07-26
21:54
Give the user some useful instructions in case of serious breakage. check-in: db46f07919 user: ivan@selidor.net tags: trunk
21:36
The ``--quiet`` argument of LVM commands doesn't hide status messages. check-in: 96c90227bc user: ivan@selidor.net tags: trunk
21:33
Removed test code. check-in: 8abfb39ec7 user: ivan@selidor.net tags: trunk
21:31
Nearly complete filesystems directory cleanup script.    This was way easier. :) check-in: b8b3176187 user: ivan@selidor.net tags: trunk
21:28
Indicate that configuration paths must be absolute. check-in: a12176c499 user: ivan@selidor.net tags: trunk
16:00
Check for severe breakage: directories in use or not cleaned up. check-in: f2f85967de user: ivan@selidor.net tags: trunk