[vpsFree.cz: community-list] vpsAdmin v2.3.0 -- stahování záloh v CLI
Vladimír Drgoňa
vlado at drgona.eu
Mon Mar 21 15:38:31 CET 2016
Skončilo to inak, ale nie dobre:
[root at doma /data/zalohy]# vpsfreectl backup vps sroot/data/backup
Will download 14 snapshots:
@2016-02-29T01:00:28
@2016-03-01T01:00:20
@2016-03-02T01:00:35
@2016-03-03T01:00:28
@2016-03-04T01:00:32
@2016-03-05T01:00:27
@2016-03-06T01:00:34
@2016-03-07T01:00:16
@2016-03-08T01:00:16
@2016-03-17T01:00:13
@2016-03-18T01:00:29
@2016-03-19T01:00:22
@2016-03-20T01:00:15
@2016-03-21T00:00:21
Performing a full receive of @2016-02-29T01:00:28 to sroot/data/backup/0
/usr/local/lib/ruby/gems/2.1/gems/haveapi-client-0.5.2/lib/haveapi/client/resource.rb:95:in
`block (2 levels) in define_action': create failed: Resource is locked.
Try again later. (HaveAPI::Client::ActionFailed)
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/base_download.rb:16:in
`find_or_create_dl'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/snapshot_send.rb:58:in
`do_exec'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_dataset.rb:252:in
`block in transfer'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_dataset.rb:443:in
`call'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_dataset.rb:443:in
`block in run_piped'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_dataset.rb:440:in
`fork'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_dataset.rb:440:in
`run_piped'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_dataset.rb:251:in
`transfer'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_dataset.rb:230:in
`exec'
from
/usr/local/lib/ruby/gems/2.1/gems/vpsadmin-client-2.3.1/lib/vpsadmin/cli/commands/backup_vps.rb:14: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>'
cannot receive: failed to read from stream
Receive failed
[root at doma /data/zalohy]#
Vlado.
Dňa 21.03.2016 o 15:29 Jakub Skokan napísal(a):
> On 03/21/2016 02:06 PM, Vladimír Drgoňa wrote:
>> neviem čo robím zle, ale stále končím nejakou chybou:
>>
>> [root at doma ~]# vpsfreectl backup dataset sroot/data/backup
>> (1) Dataset 1319
>> (2) Dataset 1319/fotky
>> (3) Dataset 1319/log
>> (4) VPS #2959
>> Pick a dataset to backup: 1
>> cannot open '-tsnapshot': dataset does not exist
>> cannot open '-oname,property,value': invalid dataset name
>> zfs get -Hrp -d2 name,creation -tsnapshot -oname,property,value
>> sroot/data/backup failed with exit code 1
> Tak jsem nakonec to FreeBSD zkusil a jedna se o nekompatibilitu mezi zfs
> utilitou na ZFS on Linux a BSD -- nelibi se mu poradi argumentu.
>
> Stahni si prosim opravnou verzi z
>
> https://secure.havefun.cz/~aither/vpsadmin-client-2.3.1.gem
>
> Nejdriv odinstaluj aktualni gem:
>
> # gem uninstall vpsadmin-client
>
> A nainstaluj novy:
>
> # gem install vpsadmin-client-2.3.1.gem
>
> Jeste chvili pockam, zda se nenajde vice problemu, a pote to nahraju na
> rubygems.
>
>> Nejde mi ani stiahnuť download, nejaké problémy s certifikátom:
> Mne to aktualne funguje. Nez jsem se k tomu dostal, byla provedena
> nejaka zmena v konfiguraci web serveru, takze mozna to je tim.
>
> 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