Weird. There's something I'm not seeing here. So you're in /var/www/gitorious, and running "script/snapshot <tarfile>" there.
A couple of shots in the dark for lack of better ideas: - What happens when you do "cat script/snapshot" there? Able to find and output the snapshot script to terminal when you do so? - Could it be some sort of issue with the shebang in those script files? What happens when you run the snapshot script explicitly with ruby, ie. "ruby script/snapshot"? -- Best regards, Thomas Kjeldahl Nilsson, Partner & Programmer, Gitorious AS http://gitorious.com On Thursday, December 20, 2012 at 9:55 AM, Phuong Doan wrote: > Hi Thomas, > > My installation path is /var/www/gitorious > I got latest mainline, then copy snapshot & restore to > /var/www/gitorious/script/, copy lib/tasks/backup.rake to > /var/www/gitorious/lib/tasks/ > These 3 new files, I checked carefully about path, permission & owner are > same as others in same directory: > > command: /var/www/gitorious/script# ls -l shows > -rwxr-xr-x 1 git git 848 Dec 18 16:46 restore > -rwxr-xr-x 1 git git 834 Dec 18 16:46 snapshot > > and /var/www/gitorious/lib/tasks# ls -l > -rw-r--r-- 1 git git 7506 Dec 18 16:46 backup.rake > > then back to /var/www/gitorious I typed: > script/snapshot bkfile.tar > Got error message: : No such file or directory > > Best regards, > Phuong > > On Thursday, December 20, 2012 1:54:35 PM UTC+7, Thomas Kjeldahl Nilsson > wrote: > > Hello Phuong, > > > > how exactly are you executing the command - which directory is your working > > directory when you run it, and what do you actually write in the terminal? > > > > -- > > Best regards, > > Thomas Kjeldahl Nilsson, > > Partner & Programmer, > > Gitorious AS > > http://gitorious.com > > > > > > > > > > > > On Thursday, December 20, 2012 at 5:02 AM, Phuong Doan wrote: > > > > > Thanks Thomas, > > > > > > my current Gitorious instance is on older version, no snapshot/restore > > > script. > > > I did as the document (get latest source, copy snapshot, restore, > > > backup.rake to the right location. > > > But when I execute the script/snapshot command, I got error message ": No > > > such file or directory" > > > > > > Pls help > > > Phuong > > > > > > On Wednesday, December 19, 2012 2:56:49 PM UTC+7, Thomas Kjeldahl Nilsson > > > wrote: > > > > Sure thing. Gitorious comes with snapshot/restore commands that make it > > > > a snap to migrate between servers. > > > > http://getgitorious.com/documentation/index.html#sec-8 > > > > > > > > -- > > > > Best regards, > > > > Thomas Kjeldahl Nilsson, > > > > Partner & Programmer, > > > > Gitorious AS > > > > http://gitorious.com > > > > > > > > > > > > > > > > > > > > > > > > On Wednesday, December 19, 2012 at 4:29 AM, Phuong Doan wrote: > > > > > > > > > I installed a new gitorious server to replace for current one due to > > > > > hardware problem, the current one is still fully functional. > > > > > Can anyone please advise how to transfer all users/projects/repos to > > > > > the new one? > > > > > > > > > > Thank you > > > > > Phuong > > > > > > > > > > -- > > > > > To post to this group, send email to [email protected] > > > > > (javascript:) (mailto:[email protected] (javascript:)) > > > > > To unsubscribe from this group, send email to > > > > > [email protected] (javascript:) > > > > > (mailto:[email protected] (javascript:)) > > > > > > > > > > > > > -- > > > To post to this group, send email to [email protected] > > > (javascript:) (mailto:[email protected] (javascript:)) > > > To unsubscribe from this group, send email to > > > [email protected] (javascript:) > > > (mailto:[email protected] (javascript:)) > > > > -- > To post to this group, send email to [email protected] > (mailto:[email protected]) > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]) -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
