JoomlaPlug!

JoomlaCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
JoomlaCloner - Joomla backup and restore

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
"drop" vs "no drop" backups (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: "drop" vs "no drop" backups
#543
swimmrguy (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
"drop" vs "no drop" backups 2 Years, 4 Months ago  
I apologize for a newbie question...

I have noticed that the clones I have made automatically using a cron process have "no drop" in the file name. However, the ones I manually do have "drop" in the file name. I suspect it has to with whether or not "Drop Syntax" is checked.

My question: What is drop syntax? And what are the advantages/disadvantages in using one vs. the other?

Thanks in advance,
Bob
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#552
admin (Admin)
Admin
Posts: 2449
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:"drop" vs "no drop" backups 2 Years, 4 Months ago  
The drop syntax is used in the mysql importing, when importing each table and if the drop syntax is enabled, then we will drop any original table(with same name) and insert the new one instead!

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#644
swimmrguy (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:"drop" vs "no drop" backups 2 Years, 4 Months ago  
That makes sense.

If I am making clones for backup purposes--using the clone to restore a corrupted site--would it be best to drop all the tables and have the clone restore them? Or is it best to use the no-drop sequence? I wuold suspect that if I am worried about a corrupted database, I would want to drop the tables and restore it from the clone. But maybe I am wrong.

Is there an advantage of dropping vs. not dropping the tables when restoring a site?

B.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#646
admin (Admin)
Admin
Posts: 2449
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:"drop" vs "no drop" backups 2 Years, 4 Months ago  
The advantage with dropping is as you said, it will not give you a corrupt result if old tables were already in place!

A drop mysql dump will assure you of an full restore without problems!

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#716
swimmrguy (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:"drop" vs "no drop" backups 2 Years, 3 Months ago  
Thanks Ovidiu...now I have one more question: How do I get the drop syntax into a clone that is created by a crontab job. I have a cron job that initiates a twice a week creation of a clone. However, all these clones are no-drop clones. However, any clone I create manually have the drop syntax.

I can only find the setting for drop syntax in the Database options tab when you click on "Create Backup." Is there any way to have the cron backups have the drop syntax?

Bob
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#717
admin (Admin)
Admin
Posts: 2449
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:"drop" vs "no drop" backups 2 Years, 3 Months ago  
Good point, i think we forgot to implement that! Please give us a few days to add that up in the new release! Will send you a post here when it's ready!

Sorry for the inconvenience!

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

Download Joomla

All rights reserved to JoomlaPlug.com ©2006-2008!
Site powered by Joomla!