General :: Add Mysqldump To Exisiting Archive.tgz?

Feb 4, 2010

Is it possible to compress the mysqldump output into say db_backup.sql.tgz. Then add that to an existing archive e.g. backup.tgz in one command or on the fly to save space and deleting it?

View 3 Replies


ADVERTISEMENT

General :: How To Use The Mysqldump

Aug 2, 2010

I have a LAMP website with mysql backend with InnoDb engine for tables.I would like to be able to use mysqldump to take periodic dumps of the database - WITHOUT having to stop the mysql server (i.e. shutting down the website) for the duration of the backup. not even in the mySQL documentation. A lot of mention is made about mysqlhotcopy, but that only works for IMSAM tables - and is therefore of no interest/use to me.Does anyone know if (how?) I can use mysqldump to take a copy/dump of a database that is still being used?.A link to the official documentation would be very useful, since I want to make sure that I get this absolutely right.I am running on Ubuntu 10.0.4 LTS

View 4 Replies View Related

General :: Copy Db And Type Some Mysqldump Command?

Jul 20, 2010

i use linux ubuntu..i try to copy db and type some mysqldump command..but at terminal show: The program 'mysqldump' can be found in the following packages:

* mysql-client-5.0
* mysql-client-5.1

Try: sudo apt-get install <selected package> bash: mysqldump: command not found

how to get mysqldump for my pc? i've tried to follow the instruction,but show like below:

Err http://ubuntu-ashisuto.ubuntulinux.jp jaunty/main libnet-daemon-perl 0.43-1 Could not connect to ubuntu-ashisuto.ubuntulinux.jp:80 (122.216.218.146), connection timed out

View 3 Replies View Related

General :: Seding Email After Successful Mysqldump?

Apr 22, 2011

I've this script which takes backup of mysqldb through mysqldump. I need to send an automated email after success/failure mysqldump. How can add this feature in the script? Here's the script:

Code:
#!/bin/sh
BACKUP=/data/backup/sql2/new_backup/daily
cd $BACKUP
mkdir `date '+%d-%m-%Y'`
NOW=$(date +"%d-%m-%Y")
code....

View 3 Replies View Related

General :: Get Error "does Not Look Like A Tar Archive" When Attempt To Verify An Archive Using Tar?

Jul 13, 2011

I am new to the world of linux and when attempting to verify a tar archive I am displayed the following error. When running the command tar cvfW archivename.tar filename directoryname does not yield any errors.

View 1 Replies View Related

General :: Cron - Mysqldump Job Creates An Empty Sql File

Apr 14, 2010

My cron job is executing the below mysqldump command but it produces an empty sql file. However, when I run from the command line, it works as expected.

Code:
15 6 * * * root mysqldump -uroot -pXXXXXXX mydbname | gzip > /home/dbbackup/db_`/bin/date +\%Y\%m\%d\%H\%M`.sql.gz

I'm on CentOS 5.4 and use "env EDITOR=nano crontab -e" edit my cron (then paste the above command.

View 5 Replies View Related

General :: Crontab Mysqldump Error Mail / Reporting That Backup Is Not Working?

Jan 22, 2010

if I run mysqldump from crontab and error occurs, I would like to have email send to me (reporting that backup is not working).

View 2 Replies View Related

Ubuntu :: Zip File Gvfsd-archive / Archive Mounter Read Write Mode

Dec 6, 2010

I'd like to ask about archive mounter feature, can I mount zip file with read write mode? can gvfsd-archive do that?, or I must use fuse-zip to mount it? If I must use fuse-zip, how I wrap it so I can use it via nautilus or via gvfs-fuse-daemon

View 4 Replies View Related

Ubuntu Installation :: 10.10 RC Partitioner Doesn't Show Exisiting Partitions

Oct 6, 2010

I went to install the 10.10 RC yesterday but to my surprise when I got to the partitioning stage it showed up my drive as being blank, with no existing partitions.

Has anybody else had this issue? I'm not sure what to do as I had the same issue on the beta, I just assumed it would be fixed.

I have a 500GB Sata HDD and i'm running an AMD64 processor so the RC was the amd_64 version.

View 3 Replies View Related

Software :: Error: Breaks Exisiting Package 'poppler-utils' Conflict

May 24, 2010

Im using ubuntu 9.10 distro.i downloaded pdftohtml_0.36.13_i386.deb package from ubuntu official site and tried to install it .but it showed the below error message

Error: Breaks exisiting package 'poppler-utils' conflict: pdftohtml (< 0.36-14)

View 2 Replies View Related

Ubuntu :: Get A Compressed File From Mysqldump?

Jul 13, 2010

I would like to have my backup script that I am writing to create a sql dump of my database and go directly into a tar file. Does anyone know how I could do this with one command?

To be more clear I would like to go from

mysqldump -u xxxx -pXXXXX tablename> currentbackup.sql
tar -czvf backup-XXXXXXXX.tgz currentbackup.sql
rm currentbackup.sql

To a single command somehow. Does anyone know how I could accomplish something like this?

View 2 Replies View Related

Server :: Copying /var/lib/mysql Instead Of Mysqldump?

Jan 20, 2011

I have one doubt, is copying /var/lib/mysql is a good alterntive to mysqldump?.

Because i use rsync to copy /var/lib/mysql for back up without dumping the database. I use rsync to do differential backup up so that it copies /var/lib/mysql to /var/tmp every one minute.

View 14 Replies View Related

Server :: Locks Table During Mysqldump?

Dec 7, 2010

We are running an adserver with mysql as the database. We backup the database every hour and lately noticed that ads doesn't get delivered at the time of backup. The database size is 1.2 GB in which a single table ifself is 1.1 GB. Googling around the problem says this may be due to lock table feature in mysqldump and disabling it might solve the issue but i'm afraid whether this would be a problem. Can anyone please explain what lock table means and will it be a problem if i disable it or may be any other alternative solutions/assitance (other than master/slave or replication since we cannot afford it at this time) would be really helpful.

View 1 Replies View Related

OpenSUSE :: Mysqldump Command Lock All Tables?

Sep 20, 2010

When I execute the command below, does mysqldump lock all tables while the backup is in process? I want to make sure this is the appropriate type of backup command for MyISAM database.


mysqldump -h myhostname --default-character-set=utf8 -u root --password=mypassword --opt --single-transaction DBname > /root/backup.sql

View 2 Replies View Related

Ubuntu :: Downloading Programs - The "Archive Manager" Comes Up And Says "An Error Has Occured While Loading The Archive"?

Jan 10, 2010

I'm new to Ubuntu, and everytime i've tried to download a program like iTunes, the "Archive Manager" comes up and says "An Error Has Occured While Loading the Archive". how to fix this or download programs ?

View 7 Replies View Related

Ubuntu :: Using Bash And Mysqldump To Dump Only Tables With Prefixes?

Nov 18, 2010

Let's say we have a file tables listing all the tables of a database.Can I use grep and mysqldump to dump only tables with certain prefix? I tried

grep prefix_ tables | mysqldump -u root -p databasename > db.sql

but this takes all the tables..

View 1 Replies View Related

Server :: Mysqldump: Special Chars Are Not Correctly Saved?

Feb 18, 2011

I have some tables that contain special characters from different languages like German, Italian, Russian, Spanish etc. They are stored and displayed correctly.

When want to backup my DB like "mysqldump -h localhost-u root -p dbname > dbname.sql" the special characters are lost, they are not correctly stored nor displayed in the sql file. This means there is no possible restoration.

View 3 Replies View Related

Ubuntu :: Install 10.10 Over An Exisiting Ubuntu Partition?

Oct 20, 2010

i have windows 7 and ubuntu 10.04 currently dualbooted but i want to get 10.10 using a cd rather than upgrading. So is this possible or do i have to delete the partition?

View 2 Replies View Related

General :: Tar - Unexpected EOF In Archive

Feb 14, 2010

I had created a tar ball of my home folder. But after formatting the system when I tried to untar it, it is showing the following error:

Code:

How to somehow recover my home folder!

View 3 Replies View Related

General :: Archive A Directory Using Tar?

Mar 25, 2010

Is it possible to archive a directory using tar and keeping the acl implemented on it intact?

View 5 Replies View Related

General :: How To Archive - Tar - Every Subdir

Jul 26, 2010

I am stuck trying to write a script that does the following :

1. loops through all subdirectories of a given directory

2. for each found subdirectory, first create an archive carrying the same name as the subdir itself

3. then moves the actual subdirectory to a different path

Here is what I have so far: my base dir is /home/bob/Bureau, and it contains two sub dirs, "florissant 86 a" and "saule 84" I would like to create one archive for each subdir in /media/public/atelierPhotoArchive and then move the folder entirely to /tmp/photo.write

Everything goes well until I have to either tar or loop through the file with spaces in names

This last statement outputs different lines after each space in my lst file

Question 1: Is it possible to make it output once for each line in the file ?

Question 2: Is it possible to do some exec tar in the find command? I had difficulties extracting the "short" name for the archive ("saule 84") without /home/bob/Bureau, it is possible only with the printf %f, but how in the world can I get this value in to the exec option ?

View 7 Replies View Related

Software :: MySQLdump Reported Completed But Wrong Time Shown

Jan 14, 2010

I just backup my mysql db using mysqldump. I run it around 6pm of the evening but I just notice that on the last part of the dump file, it says "Dump completed on 2010-01-14 11:30:01". The time is "Jan 14 19:30" when I run mysqldump. Though the content is corrent, I still want to know why the dump reported it was completed but wrong time. I don't have my.cnf on my /etc so it means all was default by mysql. If I'm not mistaken, timezone by default in mysql is gmt.

My /etc/sysconfig/clock is
ZONE="Asia/Manila"
UTC=true
ARC=false

When I do "select now();" on mysql shell, it was the same with my system. I want to prove my backup was right but this thing confuse me a bit.

View 1 Replies View Related

General :: Using A Tar Archive To Update Directory?

Feb 6, 2009

I have a directory that contains some files. Let's call it ./ActiveContent.

I have a tar ball that contains some updated files, let's call it updates.tar.gz.

How do I unpack updates.tar.gz in the directory ./ActiveContent so that files in updates.tar.gz overwrite the identical named files in the directory?

That is to say, an option that directs the utility to over write existing files wile expanding a tar archive into a directory?

View 3 Replies View Related

General :: How To Untar An Archive From One Directory To Another

Jul 19, 2010

I want to untar a package from one directory to another directory, directly from the command prompt. I want to untar the joomla package into the htdocs directory of xampp. How to do that directly from command prompt ? The reason i am asking this is if I try the "drag and drop" way, it won't be possible as xampp is stored in /opt directory and without super-user authentication nothing can be saved into it. You can argue saying that why did I untar xampp initially in su mode ,but that had to be done so that apache doesnt give me any start-up problems.

View 2 Replies View Related

General :: Folder - How To Extract A RAR Archive

Mar 25, 2011

How can we extract a .rar archive in Linux?

View 2 Replies View Related

Server :: Mysqldump Export Type Update / Command Line Or By A Simple PHP Code?

Jan 2, 2011

I noticed in phpmyadmin that we can export a database in type update. Indeed we have update... in place of insert.... is there anyone know if it possible by a command line or by a simple PHP code ?

View 1 Replies View Related

Server :: Restore A Big Mysqldump / Giving Error " 1153 (08S01) At Line 289?

Jun 2, 2010

Dear Experts,

I am having a 1 gb of mysqldump. When i try to restore this dump file, it is giving error " ERROR 1153 (08S01) at line 289: Got a packet bigger than 'max_allowed_packet' bytes". And with this i am not able to restore the database. mysqld version is 5.0.77.

View 4 Replies View Related

General :: Forcing Tar To Create An Empty Archive?

Apr 21, 2010

I'm trying to use tar to tar files before transfer, so I can keep the entire file path rather than losing it along the way. However, when I try to tar an empty folder, it tells me that it is cowardly refusing to create an empty archive. I want to keep the empty folder on the other end, but don't want to put anything else into the archive to make it non-empty. Is there any way to do this?

View 1 Replies View Related

General :: Archiver Supports Splitting Archive Into Pieces?

Apr 27, 2010

I need files to be <= 5GB to put on S3. Right now I have an ugly tar / gzip / cut before upload, then cat / zcat / tar on download, but it's really ugly - and nearly every archiver should support archive splitting right? What's the best way?

View 2 Replies View Related

General :: Which Format Should Be Used To Archive Videos While Preserving Quality?

Feb 11, 2011

I'm searching for a tutorial on how to convert my videos (AVI, WMV and MKV formats) to a format that offers both good quality and small size.The audio part should be 128 kbit/s mp3 lame.I'm using Fedora 14 with an rpmfusion repo. It would be especially nice to be able to batch-convert the AVIs.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved