Projects tagged ‘rsync’ and ‘script’


[9 total ]

2 Users

mylvmbackup is a Perl script for quickly creating backups of MySQL server's data files. To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, makes ... [More] an LVM snapshot of the volume containing the MySQL data directory, and unlocks the tables again. The snapshot process takes only a small amount of time. When it is done, the server can continue normal operations, while the actual file backup proceeds. [Less]
Created over 2 years ago.

1 Users
   

pu.sh is a simple POSIX shell script which deploys a nice versioned backup solution based on rsync's hardlinking capability, which creates many snapshots in local or remote hosts (with SSH) without data redundancy.
Created about 1 year ago.

1 Users

nbbackup is a very simple backup script for Linux, which mounts a connected backup drive (identified from a list of valid backup drives) and performs a backup using either rsync or partimage.
Created 4 months ago.

0 Users

Shell script to update Debian system via APT. Script also provides functionality to backup systems and send the backups to remote systems.
Created 12 months ago.

0 Users

Trustbuilder is a simple bash script that runs on one host, and automates the very common and tedious process of exchanging encryption keys with another host. This is often done for linux and unix ... [More] servers to allow scripts to login to a remote servers using ssh authentication, without requiring a user to enter a password. I.E., this sets up unattended server-to-server authentication for you. There is no error handling in this script, and this type of key exchange may be considered an insecure practice by some institutions. Use at your own risk. The manual process is documented here (as well as countless other places). http://www.wonderland.com/~dracon/buildstuff/unattended_ssh.html Here are the usage instructions: When running the script, you MUST provide two arguments: Remote Post (ip or hostname) Remote Port (tcp port) Here is an example of the command to execute this script: ./trustbuilder.sh remoteserver.mydomain.com 22 The script will ask you for the remote server's password twice When complete, the identify files will be in the following format: "tbldr-hostname-key" Here is an example of a scripted SSH command after the script is finished: ssh -i /root/.ssh/tbldr-hostname-key remoteserver.mydomain.com "uptime | awk '{print "Uptime="$1}';df -h | awk '/hda1/ {print "DiskUsage="$5}'" [Less]
Created 2 months ago.

0 Users

Shell script for Gentoo Linux to preform nightly system administration tasks from a cron job. This is reminiscent of OpenBSD's /etc/daily, weekly, monthly scripts. Includes auto updating for Nikto ... [More] , Snort sigs, and Nessus plugins. Also includes MySQL dump support, file system backups, and remote backups via SSH/rysnc. [Less]
Created about 1 year ago.

0 Users

rbxi is one of the family of smxi scripts. This one however runs on any unixlike system that supports bash, rsync, or rdiff-backup. You can check out the home page for more information, or download ... [More] the bz2 file directly. Check out smxi.org for more complete rbxi installation options. Most of the setup information is contained in the script readme file: rbxi/rbxi-data/rbxi-values and in the readme file: rbxi/rbxi-data/readme-rbxi.htm which is also available online at smxi.org And that's about all I'll post here, see also the script options, rbxi -h for option information, but make sure to read the setup information. This script does NOT work without manual user configuration of the rbxi-values file, which has a lot of comments explaining how to do it, along with the readme-rbxi.htm file. [Less]
Created 12 months ago.

0 Users

pu.sh is a simple POSIX shell script which deploys a nice versioned backup solution based on rsync's hardlinking capability, which creates many snapshots in local or remote hosts (with SSH) without ... [More] data redundancy. Install instructionsIt's simple: # svn export http://pu-sh.googlecode.com/svn/trunk/pu.sh /usr/local/bin/pu.shIf you prefer wget, do: # wget http://pu-sh.googlecode.com/svn/trunk/pu.sh -O /usr/local/bin/pu.sh # chmod +x /usr/local/bin/pu.shReady. RunningTo uses pu.sh you need these softwares installed in your computer: rsync; OpenSSH client (ssh), only if you need push backups on a remote host. Synopsys: $ pu.sh [-q] [-v]... [-e FILE] [-l FILE] [--] SRC [SRC]... [[USER@]HOST:]DESTExamples usagePush some dirs into /var/backups: $ pu.sh /home /usr/local/bin /var/backupsPush / with a exclude list into /backups in example.net: # pu.sh -e /etc/pu-sh/exclude.list / root@example.net:/backups/Push /var/mail to remote host and writes a log in /var/log/pu-sh.log # pu.sh -l /var/log/pu-sh.log /var/mail root@192.168.0.1:/var/cache/pu-shFor more instructions, run pu.sh -h. Simple deployPut the script below for run with cron: #!/bin/sh SOURCES="/etc /srv /opt /home /root /var/lib /var/www /usr/local /var/log /var/mail /var/spool" DEST="user@example.net:/backups/`hostname -f`" cat . See AUTHORS file for a complete authors list of this application. [Less]
Created about 1 year ago.

0 Users

A really, really simple backup scheme for vmware servers using rsync. Part of Telenor´s iLabs project. See the BackupScriptSpec page for details. This project has is running in our lab production environment now.
Created about 1 year ago.