Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I backup my site's database with NAS storage, but now that I need to get some of the files, I realize I don't know how to download them to my desktop. Is there a way to download from FTP or straight from the terminal, or? I have the NAS storage mounted on my linux machine (centos).

share|improve this question
    
By download, do you mean restore your database? It is network accessible storage, can't you get to it over the... network? –  kmarsh Jul 22 '09 at 17:17
    
Not sure where you are confused. How do you backup the files to the NAS. If you just copy them from the server to the NAS, why can't you copy from NAS to the server? –  Kyle Brandt Jul 22 '09 at 17:18
    
No, sorry, I want to download it to my desktop. I just need to restore 2 rows. –  James Simpson Jul 22 '09 at 17:18

2 Answers 2

up vote 1 down vote accepted

If you have the NAS mounted, it really isn't any different (in this case) than the rest of your files. You can just copy them.

cp /mnt/NASMOUNTPOINT/file_you_want /home/jls33fsls/Desktop/
share|improve this answer

Without more information (specifically, how you are doing the backup) it is difficult to craft a sensible response.

In general, for a granular restore like this, what you want to do is:

1- restore (to a DIFFERENT LOCATION) the smallest piece you can that contains all of what you need to access. Generally, you will restore using whatever tool was used for the backup.

2- Backup the information you are about to be change in the event you screw up. Back it up to a different location than the (old) backup from which you are restoring!

3- Access the restored information however necessary (i.e. Outlook if it is a PST file) and do the import, replace, etc. into the primary system.

4- Clean up

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.