User:Woozle/rsync

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< User:Woozle
Revision as of 15:15, 2 February 2017 by Woozle (talk | contribs) (another example)
Jump to navigation Jump to search

2017-02-02

Migrating web folders from cloud2 to new server:

cd /home/<domain-name>/public_html
rsync -rpt root@cloud2.hypertwins.net:/home/<domain-name>/public_html/* ./
chown -R <domain-user>:<domain-user> ./

2011-11-02

Backing up a hard drive to a local drive that has a partial image already on it:

cd <[drive]/home>
rsync -cav /media/BiTeraSaurus/backups/machines/gonzo/2010\ 500GB\ drive/woozle/ woozle/

2007-10-03

As used on Scooter, to copy Gonzo's mail and Akregator files over:

cd /home/woozle/AppData/kmail
rsync -Pav woozle@gonzo:AppData/kmail/* ./
cd /home/woozle/AppData/akregator
rsync -Pav woozle@gonzo:AppData/akregator/* ./

This still doesn't import the settings for fetching/sending email; are those in kwallet, maybe?