Difference between revisions of "User:Woozle/rsync"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(another usage)
(another example)
Line 1: Line 1:
 +
==2017-02-02==
 +
Migrating web folders from cloud2 to new server:
 +
 +
cd /home/{{arg|domain-name}}/public_html
 +
[[rsync]] -rpt root@cloud2.hypertwins.net:/home/{{arg|domain-name}}/public_html/* ./
 +
[[chown]] -R {{arg|domain-user}}:{{arg|domain-user}} ./
 +
 
==2011-11-02==
 
==2011-11-02==
 
Backing up a hard drive to a local drive that has a partial image already on it:
 
Backing up a hard drive to a local drive that has a partial image already on it:
  
  cd ''to [drive]/home''
+
  cd {{arg|[drive]/home}}
 
  [[rsync]] -cav /media/BiTeraSaurus/backups/machines/gonzo/2010\ 500GB\ drive/woozle/ woozle/
 
  [[rsync]] -cav /media/BiTeraSaurus/backups/machines/gonzo/2010\ 500GB\ drive/woozle/ woozle/
  
(awaiting results to see if this worked as intended...)
 
 
==2007-10-03==
 
==2007-10-03==
 
As used on Scooter, to copy Gonzo's mail and Akregator files over:
 
As used on Scooter, to copy Gonzo's mail and Akregator files over:

Revision as of 15:15, 2 February 2017

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?