I've played with the backups of our multi-setup repositories and had a
couple of questions.

Although the script seems to work that I downloaded from :
http://fossology.svn.sourceforge.net/viewvc/fossology/trunk/fossology/utils/backup/

Our repos are fairly big in size and we are directly connected to a
giga-switch, I don't think the bottleneck is the network here.
It is using network because all hosts are mounted via NFS and the
BACKUP_LOCATION is on one of those mounted shares (the one with the most
space avail).
But all 6 machines are on the same subnet, same switch, and shouldn't really
need to go out to the router and then back again. I would think it would be
quick as far as network.

However, its possible that the BACKUPDIR is located in an area that is also
being backed up, which may be causing a "loop".

BACKUPDIR=/srv/fossology/repository/clear1/BACKUPS

There's a small debate here at the office whether this is a network issue or
a backup issue, or simply just a lot of data and processing (compression) of
the entire backup-script that is taking such a long time. I just caught the
fact that include has +/repository/ (which may also include our BACKUPDIR).

To give you an idea of how long it was taking I started the script at 9 AM
and by 3 PM it still hadn't finished. It was probably just 50% completed. We
needed to do a scan so we had to kill the backup job.

Exisintg include a&b files:
===================
gmarq...@san-clear5:~/Backup_Scripts/fossy_BackupScripts$ cat
backup_include_a.mod
+ /repository/
+ /db/
- /*
+ /repository/clear[1-3]/
- /repository/*
gmarq...@san-clear5:~/Backup_Scripts/fossy_BackupScripts$ cat
backup_include_b.mod
+ /repository/
- /*
+ /repository/clear[4-6]/
- /repository/*
===================

Do I need to add my BACKUPDIR to "-" exclude? How would I write that to be
able to still "include" the repo in clear1?
-/repository/clear1/BACKUPS/*     <-- Would this be the way to do it? And
does the order in the file matter?

Thanks!

-Regards,
Gibran
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to