[vpsFree.cz: community-list] vpsAdmin v2.3.0 -- stahování záloh v CLI

Vladimír Drgoňa vlado at drgona.eu
Wed Mar 23 12:53:12 CET 2016


Ahoj,

skúšal som všeličo. Aj dnes vytvorený čistý jail, jedine som tam
nainštaloval ruby, a výsledok som dostal rovnaký ako minule:

root at VPSFREE:~ # vpsfreectl snapshot download
VPS #2959
  (1) @2016-03-02T00:00:34Z
  (2) @2016-03-03T00:00:26Z
  (3) @2016-03-04T00:00:27Z
  (4) @2016-03-05T00:00:26Z
  (5) @2016-03-06T00:00:32Z
  (6) @2016-03-07T00:00:12Z
  (7) @2016-03-08T00:00:13Z
  (8) @2016-03-17T00:00:10Z
  (9) @2016-03-18T00:00:27Z
  (10) @2016-03-19T00:00:20Z
  (11) @2016-03-20T00:00:14Z
  (12) @2016-03-21T00:00:21Z
  (13) @2016-03-22T00:00:12Z
  (14) @2016-03-23T00:00:19Z
Pick a snapshot for download: 14
Reusing existing SnapshotDownload (id=323)
Downloading to 2959__2016-03-23T00-00-19.tar.gz
/usr/local/lib/ruby/2.1/net/http.rb:923:in `connect': SSL_connect
returned=1 errno=0 state=error: certificate verify failed
(OpenSSL::SSL::SSLError)--=---=---=---=---=---=---=---=---=---=---=---=---=---=--]
0 kB/s
        from /usr/local/lib/ruby/2.1/net/http.rb:923:in `block in connect'
        from /usr/local/lib/ruby/2.1/timeout.rb:75:in `timeout'
        from /usr/local/lib/ruby/2.1/net/http.rb:923:in `connect'
        from /usr/local/lib/ruby/2.1/net/http.rb:863:in `do_start'
        from /usr/local/lib/ruby/2.1/net/http.rb:852:in `start'
        from /usr/local/lib/ruby/2.1/net/http.rb:583:in `start'
        from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/stream_downloader.rb:65:in
`initialize'
        from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/stream_downloader.rb:11:in
`new'
        from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/stream_downloader.rb:11:in
`download'
        from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/snapshot_download.rb:103:in
`do_exec'
        from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/snapshot_download.rb:69:in
`exec'
        from
/usr/local/lib/ruby/gems/2.1/gems/haveapi-client-0.5.2/lib/haveapi/cli/cli.rb:73:in
`initialize'
        from
/usr/local/lib/ruby/gems/2.1/gems/haveapi-client-0.5.2/lib/haveapi/cli/cli.rb:13:in
`new'
        from
/usr/local/lib/ruby/gems/2.1/gems/haveapi-client-0.5.2/lib/haveapi/cli/cli.rb:13:in
`run'
        from
/usr/local/lib/ruby/gems/2.1/gems/vpsfree-client-0.5.0/bin/vpsfreectl:4:in
`<top (required)>'
        from /usr/local/bin/vpsfreectl:23:in `load'
        from /usr/local/bin/vpsfreectl:23:in `<main>'
root at VPSFREE:~ #

Samozrejme
V akej forme si skúšal FreeBSD? Ak virtuál, mohol by si ho niekde
nahrať, trebárs ako TAR, prípadne rovno OVA na moju VPS? Samozrejme bez
tokenu a podobných súkromných údajov a s nejakým jednoduchým heslom.
Večer by som si ho vyskúšal na desktope, overil by som si či mám problém
s routrom, providerom alebo nejak rozhasený server, pretože inak mi
všetko na ňom funguje normálne.

Vlado.


Dňa 23.03.2016 o 10:16 Jakub Skokan napísal(a):
> On 03/21/2016 09:57 AM, Jakub Skokan wrote:
>> PS: mohl by to někdo vyzkoušet na BSD? Mělo by to fungovat nad jakýmkoli
>> systémem se ZFS a Ruby >= 2.0.
> Pushnul jsem na rubygems vpsadmin-client-2.3.1, ktery jiz bezi na
> FreeBSD. Kdyz uz jsem mel to FreeBSD pustene, rovnou jsem umoznil
> pouziti delegace prav k datasetum [1] (coz na ZFS on Linux neni
> implementovane), takze ke stahovani zaloh uz program nemusi bezet pod
> rootem a nepotrebuje ani sudo.
>
> [1]
> https://kb.vpsfree.cz/navody/vps/datasety#stahovani_zaloh_pod_obycejnym_uzivatelem_s_vyuzitim_delegace_prav
>
> Jakub
> _______________________________________________
> Community-list mailing list
> Community-list at lists.vpsfree.cz
> http://lists.vpsfree.cz/listinfo/community-list




More information about the Community-list mailing list