This is a nice backup script suitable for cronjobs,
daily backups where only incremental changes are stored.
I believe that it only works for 1.3x (zipdump),
someone else should find out the url to produce 1.2 dumps.
But it's not hardcoded anywhere.
Run it in the backupdir where all the ,v files get stored.
This will get filled up with files according the pagenames, so it would be
wise to be empty, otherwise the page will overwrite an existing file.
with ZIPDUMP_AUTH = true
../admin/wbackup --http-user=admin --http-passwd=pass
I had to strip the first line of each backup file, not to check-in
equal files, where only the dump date changed.
Maybe one might take this to enable rcs versioning.
At least I try to incoorporate rcsdiff with these backups to reduce the
space overhead with the current versioning.
on windows probably cygwin.
my windows versions of rcs and ci get confused with \r. (=> a big oneliner)
so you would have to add unix2dos in between.
where should be put such commandline utils?
I have other in the works, e.g. admin/fix_HomePage.php,
to rename FrontPage to HomePage in the database,
which can be called standalone or by url.
based on admin/renamepage.php, which I'm writing right now.