[solved] Backup

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

[solved] Backup

Post by breichert »

I've gotten cacti installed and have 90% of my setup work done. Before I go much further, what is the best way to backup the system? Both a one time backup and a recurring backup?

Thanks,

Brad
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

Re: Backup

Post by breichert »

I'm failing to get it backed up. I'm trying:
mysqldump -l -u[root] -p[the password I user to log into cacti] --add-drop-table cacti > mysql.cacti

I'm being told that the password is incorrect. I used the installer that had everything scripted into one install. I don't recall setting a MySQL password but maybe I did. If I reset the root password, am I going to break cacti?

Thanks,

Brad
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

Re: Backup

Post by breichert »

I can login to the MySQL command line using the same password that I'm trying above.

What am I doing wrong?

Brad
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Backup

Post by BSOD2600 »

Try without the -p parameter so mysql prompts you instead?
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

Re: Backup

Post by breichert »

When I try without the -p it simply gives me an error that no password was provided.

Any other ideas?

Thanks,

Brad
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Backup

Post by BSOD2600 »

Whats the exact command you're specifying? Consulted the mysql command help?
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

Re: Backup

Post by breichert »

The command in the documentation and the post above:
mysqldump -l -u[root] -p[the password I user to log into cacti] --add-drop-table cacti > mysql.cacti

Brad
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

Re: Backup

Post by breichert »

I followed the directions at http://dev.mysql.com/doc/mysql-windows- ... ndows.html to reset the root password for MySQL and that didn't help either. Maybe my issue isn't with the password... I don't get it.

Brad
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Backup

Post by BSOD2600 »

I think we have our self a PEBCAK ;-)
mysqladmin - dump.png
mysqladmin - dump.png (2.5 KiB) Viewed 2573 times
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

Re: Backup

Post by breichert »

I'm happy to admit it's me but clearly I'm not smart enough to figure out what I'm doing wrong! That's why I'm asking for help.
Attachments
Capture.PNG
Capture.PNG (5.64 KiB) Viewed 2572 times
breichert
Posts: 25
Joined: Fri Nov 22, 2013 8:24 am

Re: Backup

Post by breichert »

The issue is that I was putting [] around the username...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests