Restoring a backup: Difference between revisions
Jump to navigation
Jump to search
m (I pwned my own website moved to Restoring a backup: Article is currently difficult to find.) |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Outdated}} | |||
Redbrick keeps regular backups of your files in case a problem develops with a server and user files need to be restored. | Redbrick keeps regular backups of your files in case a problem develops with a server and user files need to be restored. | ||
These backups can also be used by users to restore files if they have accidentally deleted | These backups can also be used by users to restore files if they have accidentally deleted them or if wish to restore previous versions. | ||
==Restoring a backup== | ==Restoring a backup== | ||
| Line 21: | Line 23: | ||
====Note==== | ====Note==== | ||
#Redbrick keeps several backups at one time. current is the latest and is usually taken the night before. If you wish to restore a backup from before this replace current with the date of the backup and then type cd tree before continuing with the guide. | #Redbrick keeps several backups at one time. current is the latest and is usually taken the night before. If you wish to restore a backup from before this replace current with the date of the backup and then type cd tree before continuing with the guide. | ||
#You can also restore files from your home directory by going to /home/member during this step. If you are restoring a backup from home replace public_html in the later steps with a more appropriate location. eg. ~ | #You can also restore files from your home directory by going to /home/member during this step. If you are restoring a backup from your home directory replace public_html in the later steps with a more appropriate location. eg. ~ | ||
#In this example the user is called username. Replace this with your username and u with the first letter of your username. eg. i/isaac702 | #In this example the user is called username. Replace this with your username and u with the first letter of your username. eg. i/isaac702 | ||
[[Category: Helpdesk]] | [[Category: Helpdesk]] | ||
Latest revision as of 00:10, 21 April 2026
| IMPORTANT: The content of this page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice. |
Redbrick keeps regular backups of your files in case a problem develops with a server and user files need to be restored.
These backups can also be used by users to restore files if they have accidentally deleted them or if wish to restore previous versions.
Restoring a backup
cd /backup/storage/current/ *See Note 1 cd webtree *See Note 2 cd u/username *See Note 3
To restore a single file then
cp filename ~/public_html/
To restore an entire directory then
cp -R * ~/public_html/
Note
- Redbrick keeps several backups at one time. current is the latest and is usually taken the night before. If you wish to restore a backup from before this replace current with the date of the backup and then type cd tree before continuing with the guide.
- You can also restore files from your home directory by going to /home/member during this step. If you are restoring a backup from your home directory replace public_html in the later steps with a more appropriate location. eg. ~
- In this example the user is called username. Replace this with your username and u with the first letter of your username. eg. i/isaac702