Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Backup Vesta to Backblaze B2

General questions about VestaCP
Post Reply
  • Print view
Advanced search
12 posts
  • Previous
  • 1
  • 2
rez0n
Posts: 149
Joined: Fri Jan 25, 2013 8:04 am
Contact:
Contact rez0n
Website

Re: Backup Vesta to Backblaze B2
  • Quote

Post by rez0n » Thu May 16, 2019 3:17 pm

Yes, file b2.backup.conf saved in DOS format (probable from Windows machine)
On the screenshot - nano editor on your server (you can use it for debug)
You can try to use function File-Save with Encoding-UTF in sublime, or edit file directly on server by vi or nano
Top

Wulfgang
Posts: 1
Joined: Mon Dec 28, 2020 11:09 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Backup Vesta to Backblaze B2
  • Quote

Post by Wulfgang » Mon Dec 28, 2020 11:10 pm

I get this after creating backup:
which: no b2 in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin)
ls: unrecognized option '--long'
Try 'ls --help' for more information.
CentOS 7.


upd. Found a solution. The problem is with "which" command, that doesn't work(it gets cycled). If you get that problem on CentOS then use "type"(it's generally advised to use type, that is much better). Just change it in line: b2util=$(which b2) and add -p parameter. It should look like this in 'v-backup-user' file:
b2util=$(type -p b2)
Top


Post Reply
  • Print view

12 posts
  • Previous
  • 1
  • 2

Return to “General Discussion”



  • 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