Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

v-backup-user error getcwd() on --SUMMARY--

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
juslintek
Posts: 10
Joined: Mon Jun 20, 2016 5:55 pm

v-backup-user error getcwd() on --SUMMARY--
  • Quote

Post by juslintek » Thu Jul 27, 2017 7:28 am

Using Ubuntu 16.04 x64 on AWS.

The backup is created, but probably to form full summary or send a report files are not accessible.

Code: Select all

-- SUMMARY --
2017-07-27 07:19:55 Local: /backup/admin.2017-07-27.tar
2017-07-27 07:19:55 Size: 882 Mb
2017-07-27 07:19:55 Runtime: 1 minute
sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Some feedback from verbose mode of script:

Code: Select all

bash -x /usr/local/vesta/bin/v-backup-user admin yes

Code: Select all

+ /usr/local/vesta/web/inc/mail-wrapper.php -s 'admin → backup has been completed' admin@domain_name_replaced.com yes
sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
+ rm /backup/admin.log
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: v-backup-user error getcwd() on --SUMMARY--
  • Quote

Post by skurudo » Thu Jul 27, 2017 11:33 am

Check this topic:
viewtopic.php?f=40&t=9694#p34401
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “CLI”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password