PDA

View Full Version : svnadmin dump, but did not specify > dumpfile


MarmaladeMan
02-06-2007, 01:46 PM
So, in my infinite wisdom I dumped two repositories yesterday without specifying a dumpfile name.

i.e, what I did:

svnadmin dump /home/marmalademan/hostiletest
svnadmin dump /home/marmalademan/hipr

What I later learned you're supposed to do (from reading this (http://svnbook.red-bean.com/en/1.0/ch05s03.html#svn-ch-5-sect-3.5)):

svnadmin dump /home/marmalademan/hostiletest > hostiletest
svnadmin dump /home/marmalademan/hipr > hipr

Now, I can see in my site dashboard that the dumpfiles are taking up space, but I can't find them when I FTP/SSH into the account.

Sorry I'm creating my own problems because of user error when you've got the more important data center move going on. I was hoping to do a backup of my repos but it isn't urgent if tech is busy with other things. Thanks!

dkozinn
02-06-2007, 02:58 PM
Until Matt comes back with what will undoubtedly be the "real" answer, I can point out that the reason why you need the redirect (the "> filename") thing is because the output from that command goes to the standard out (stdout) device, which by default when you're logged in, goes to the terminal. That means you would have seen a bunch of stuff flying by the screen, but nothing should have been stored on the server itself. (At least I don't think so).

Is it possible that the room that's being taken up is because of something else?

MarmaladeMan
02-06-2007, 05:14 PM
This is muddled a little by the fact that I just copied a bunch of files (http://forums.apisnetworks.com/showthread.php?t=221), and just now deleted the originals (I'm assuming the dashboard is regenerated every so often because it didn't immediately reflect the change in available space).

You're right about one thing, I did see all the data fly by in the command console. It seemed to me when I looked at the dashboard that the disk space usage had gone up a whole bunch (I don't remember specifically what it was at before). But now that I check the per-user space consumption, adding up those numbers seems to reach an appropriate amount (the combined size of both repos is ~120MB in .dump format, and /home/marmalademan only takes up 174MB).

I suppose I'll just run the commands again, the proper way this time. Thanks for the help dk. :)

MarmaladeMan
02-06-2007, 06:20 PM
Yep, worked like a charm and took considerably less time than my first attempt. :confused: Thanks!

dkozinn
02-06-2007, 07:44 PM
Yep, worked like a charm and took considerably less time than my first attempt. :confused: Thanks!
Glad I could help.

Incidentally, the stuff on the dashboard is only generated periodically, I remember Matt explaining that a while back, but I don't recall exactly how often. I think that if you log out and back in, it picks up new info, but I'm not really sure about that.