By e2 on
Hi
This might sound bit stupid but if you work on a local machine without RAID and backups like the
ISP provider has, how can you check your sql dump and html folder which are both work as
the drupal backup?
I think it is a must for everyone who work stand alone.
To be sure in 100% that the files they have as backup are indeed backups!
Thanks
Comments
You could try renaming your
You could try renaming your html dir to html_old and restoring your backup to html. Then restore from your mysqldump to a new db name (no need to overwrite the original). Then, in the restored html dir, find Drupal's settings.php file and edit to change the db name to match the one you just created.
Then, to set things back to how they were, you can just delete the html dir, rename html_old back to html and delete the restored database.
Or, you could install from scratch to a 2nd PC or Virtual PC (virtualbox is great and free).
This is a good receipt for
This is a good receipt for troubles...
Playing with databases on 1 computer.
The 2pc idea is the best idea I think.
You could also use apache's
You could also use apache's virtual hosts and have a multi-site setup on your server and multiple databases needn't be troublesome. I frequently clone my databases before doing something possibly stupid so I can quickly restore should something go wrong.
But, to have complete confidence in your backups, probably restoring to a 2nd server (virtual or not) is a good move. It gets you used to recreating the server - very good idea to practice this anyway. Takes some of the terror away after a server failure.
Good luck!
2 linux installations on one disk
or one install on a DOK