Backup size big, make backups optional?


#1

Hello!

I love Local, keep up the good work! :slight_smile:

I’ve noticed that each time i stop a site then Local does a backup. This is initially a good thing, but it should really be an optional feature. I have a lot of sites in my Local setup, and I start and stop them often since i’m working in the support-branch of my company.

When stopping/restarting a container the backup makes the process really slow, and the disk gets clogged up with huge sql-files.

If a site would fail for some reason then I just set it up again with fresh data from production environment. So if the site environment should fail loosing data is not an issue.

Is some of these alternatives possible to realize in the future?

  • compresse the SQL-files (.zip/.tar.gz)
  • make the backup optional

I understand that this is not an issue for the average Joe, but hopefully making this feature optional is not too much work. This also makes Local more future proof as this feature help the keep the disk usage lower for those who wants.

Best regards,
Robert Sæther
Dekode Interaktiv AS


How to disable backup on Stop Site
#2

I’ve got a couple of sites with huge databases, Local can take a couple of minutes or more to stop them due to the time the backup process takes, so this would be a great feature to have.


#3

Is there a way to disable “backup” when stoping a site?

I use Local in a relatively big site, and backing up can take a long time.
It would be great if there’s a way to disable backup when stoping/restart.

If there’s no way to do this, maybe feature request?

Thank you.


#4

@turtlepod,

I moved your post into this feature request. Make sure you vote it up! :slight_smile:


#5

thanks @clay


#6

Thanks, much appreciated!


#7

This feature would be really nice to have.


#8

Bumping this up again. These SQL-files take up huge space on my disk, and they also take a while to dump when I’m trying to stop a site. Nice feature for someone, a time consuming issue for others. Would be nice to make this feature optional :slight_smile:


#9

Any update on this topic @clay? :slight_smile: