[wplug] script help

John Harrold jmh17 at pitt.edu
Fri Oct 31 09:31:40 EST 2003


Sometime in October Russ Schneider assaulted the keyboard and produced:

| cp -Ruf /home /mnt/windows/backup/ (needs to be run as root)

if the data doesn't change much, i would consider using rsync.

| pg_dumpall > /mnt/windows/backup/file.sql (needs to be run as postgres)

what bill said about cron UID's, sudo and the -U option to pg_dumpall.

-- 
--------------------------------------------------------------------------
                                               | /"\
 john harrold                                  | \ / ASCII ribbon campaign
      jmh at member.fsf.org                    |  X  against HTML mail
           the most useful idiot               | / \
--------------------------------------------------------------------------
 What difference does it make to the dead, the orphans, and the homeless,
 whether the mad destruction is brought under the name of totalitarianism or
 the holy name of liberty and democracy?
 --Gandhi
--------------------------------------------------------------------------
gpg --keyserver keys.indymedia.org --recv-key F65A739E
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20031031/38efa80f/attachment-0001.bin


More information about the wplug mailing list