No, I'm not zipping: just have a very large repository.

So, I can see that the backup didn't clean because the backup failed, because 
the backup ran out of space, because the backup was running and used up all of 
the space, but no space was created by the clean because the backup that ate up 
all the disk space died....

<sigh>

I'll reduce it down to 25 hours, so that I will only keep 1 backup (and, 
hopefully, avoid this in the future.)

Thanks,
Dana Lacoste

From: Yoav Landman [mailto:[email protected]]
Sent: Thursday, December 17, 2009 11:50 AM
To: [email protected]
Subject: Re: [Artifactory-users] Backup issues

My guess is you may also have 'Create zip archive' on, which is both time 
consuming and very CPU intensive for most but small repositories.
Like Fred explained, backup cleanup happens right after the last backup 
completed successfully - if there is even one error or warning cleanup will not 
happen as a safeguard. In 2.1.x you can also get email alerts as an admin on 
potential backup problems.
If you need further help, please indicate what version you are running and 
attach your configuration (or you can send it directly to 
[email protected]<mailto:[email protected]>).

Thanks,

Yoav


On Thu, Dec 17, 2009 at 9:42 PM, Frederic Simon 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

The main reason for backups not being clean up is: Latest backup failed.
You should check the log for failed backups.
You can also use on latest versions the incremental backup. This will use the 
same backup folder and the size represent the repo data.

HTH,
Fred.
On Thu, Dec 17, 2009 at 8:55 PM, Lacoste, Dana (EB Software San Diego) 
<[email protected]<mailto:[email protected]>> wrote:
OK, I've NEVER had success with artifactory backups.

They back up fine, but then they fill up my disk and I run out of space.

artifactory:/data1/artifactory-backup$ ls -la
total 24
drwxr-xr-x 6 artifactory root        4096 2009-12-17 07:00 .
drwxr-xr-x 6 root        root        4096 2009-12-03 09:42 ..
drwxr-xr-x 3 artifactory artifactory 4096 2009-12-14 07:41 20091214.070000
drwxr-xr-x 3 artifactory artifactory 4096 2009-12-15 07:38 20091215.070000
drwxr-xr-x 3 artifactory artifactory 4096 2009-12-16 07:42 20091216.070000
drwxr-xr-x 3 artifactory artifactory 4096 2009-12-17 07:00 20091217.070000.tmp

OK, so with a 50 hour retention time, why is the 20091214.070000 backup still 
there?  Does the backup daemon only delete old backups after the new backup 
runs?

I know I'm going to have to now dump everything, re-load it from the dumps, and 
re-install to effectively clean up from the errors caused by this, but I'd 
really like artifactory to stop eating its own disk space!  Is there a way we 
can change the backups to delete based on free space rather than a time limit?

Thanks,
Dana Lacoste

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/artifactory-users

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to