BackUp.pl failed. (files changed as we read it)

Moderator: crythias

Locked
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

BackUp.pl failed. (files changed as we read it)

Post by pluwum »

Hello everyone,
I'm trying to back my otrs before i do some major changes to it. Each time i run backup.pl it backs up conifgs, database and when it gets to Apllications it says
'file changed as we read it'. Some one please help me solve this. thankx in advance.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

please show

- your backup command including parameters
- your OTRS Home directory
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:please show

- your backup command including parameters
- your OTRS Home directory
i just run the backup.pl script. (see the script attached)
my home directory is "/opt/otrs/"
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

which directory are you using for the -d flag?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:which directory are you using for the -d flag?
i didnt specify it ...i just run "backup.pl -d" without specifying a directory
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

backup.pl will terminyte if run without htis option
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:backup.pl will terminyte if run without htis option
No luck, i've tried to specify the options but it still gives me the same error ..... :( .... the weired thing is the first time i ever tried to back up it worked fine ......
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

please show exactly the command and the way you are running this command
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:please show exactly the command and the way you are running this command
This is the command i am running ...tell me if its not the right one " ./backup.pl -d /opt/otrs/backup"
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

the backup directory should not be in the /opt/otrs directory as this directory will be backuped (this causes the error message)

so try -d someotherbackupdirectory
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:the backup directory should not be in the /opt/otrs directory as this directory will be backuped (this causes the error message)

so try -d someotherbackupdirectory
ok this is weired i've done "./backup.pl -d /opt/Mybackups" ....guess wat,.....same stuff aaaargh!!!
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

don't use a subdirectory of /opt/otrs
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by crythias »

Problem with tar. One solution: adjust backup.pl tar to ignore it.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

crythias wrote:Problem with tar. One solution: adjust backup.pl tar to ignore it.
hey, i think this might work but do have any ideas which files to exclude? i have tried to exclude the files under the var directory but i still have the same issue.


#newbie
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

as I already said don't use a subdirectory of /opt/otrs as target directory for the backup!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:as I already said don't use a subdirectory of /opt/otrs as target directory for the backup!

yes jojo, i followed your advice .... i'm already using /usr/otrs_backup (i hope its fine, is it?) to back up my otrs. the backup just keeps on goes on until i run out of storage space on the server.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

well, than get more space
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:well, than get more space
can the backup files of an otrs (which is not yet even in service) be over 25GB? ..... coz when i left it backing up, it consumed 25gb and it hadnt yet even finished backing up....itwas still going!!!!!! but server had only 30gb and everything else started to stall!!!
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: BackUp.pl failed. (files changed as we read it)

Post by jojo »

as you might have a lot of old backup files in the OTRS main directory from your tries please delete these first.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pluwum
Znuny newbie
Posts: 33
Joined: 23 Oct 2012, 16:36
Znuny Version: 3.1.6
Real Name: patrick
Company: muk

Re: BackUp.pl failed. (files changed as we read it)

Post by pluwum »

jojo wrote:as you might have a lot of old backup files in the OTRS main directory from your tries please delete these first.
i delete all the files as soon as i'v tried. the only babckup i'v left is the only one that ever worked when i had just setup otrs and its only 54mb ...thats all i have about 26gb free space!!!! ....jojo this must be getting to your head is'nt it? problem after problem ....i'm getting close to giving up to ... thanx for all the help thus far
Locked