16
edits
| Line 11: | Line 11: | ||
<pre> | <pre> | ||
ssh carbon | ssh carbon | ||
cd /backup/webtree/webtree | cd /backup/webtree/webtree/u/username (see note) | ||
cp filename ~/public_html/ | cp filename ~/public_html/ OR cp -R * ~/public_html/ | ||
exit | exit | ||
</pre> | </pre> | ||
====Note==== | |||
There are 7 backup directories in /backup/webtree/ and /backup/home/. The newest of each of these are the ones without numbers (/backup/webtree/webtree/, and /backup/home/home). These are the backups for the previous night. The backup for two nights ago is .1, three nights is .2, and so on. | |||
The example given above is for a user called 'username'. As you can see, the first directory you put in is the first letter of your username, followed by your full username. | |||
==Example of restoring a file== | ==Example of restoring a file== | ||