Package Details: bup 0.31-1

Git Clone URL: https://aur.archlinux.org/bup.git (read-only, click to copy)
Package Base: bup
Description: Efficient backup system based on the git packfile format
Upstream URL: https://bup.github.io/
Licenses: GPL
Conflicts: bup-git
Submitter: Shibumi
Maintainer: IslandC0der
Last Packager: IslandC0der
Votes: 7
Popularity: 1.22
First Submitted: 2020-07-10 18:54
Last Updated: 2020-08-23 11:10

Latest Comments

1 2 3 4 Next › Last »

IslandC0der commented on 2020-09-26 01:06

@edsonspbr ótimo, ainda bem que pude ajudar :)

Agora é só esperar que a fix passe para downstream

edsonspbr commented on 2020-09-17 17:58

@IslandC0der Pelo link dos bugs do KDE que vc passou, tem a solução para resolver o problema por enquanto. Eu fiz e deu certo.

https://bugs.kde.org/show_bug.cgi?id=426139

Obrigado pela ajuda.

IslandC0der commented on 2020-09-12 00:15

@edsonspbr estive a fazer mais testes, e parece que este bug foi introduzido na versão 0.8.0-2 do Kup. Por isso é que eu não estava a conseguir reproduzir usando apenas o Bup.

Mas de qualquer forma, após alguma pesquisa, descobri que o bug já foi reportado: https://bugs.kde.org/show_bug.cgi?id=426139

edsonspbr commented on 2020-09-09 21:35

@IslandC0der

A pasta Documents tem arquivos com acentuação, quando retiro a pasta, o backup funciona normalmente.

Obrigado por ajudar.

Kup is starting bup backup job at Wednesday, September 9, 2020 6:28:34 PM -03

bup "-d" "/godback" "init" bup "-d" "/godback" "fsck" "--quick" "-j" "4" Exit code: 0

bup "-d" "/godback" "index" "-u" "/home/edson/.thunderbird" "/home/edson/Documents" Exit code: 0

bup "-d" "/godback" "save" "-n" "kup" "-vv" "/home/edson/.thunderbird" "/home/edson/Documents"

Traceback (most recent call last): File "/usr/lib/bup/cmd/bup-save", line 324, in <module> log('%s %-70s\n' % (status, path_msg(ent.name)))

File "/usr/lib/bup/cmd/../bup/io.py", line 18, in path_msg return x.decode(errors='backslashreplace')

TypeError: don't know how to handle UnicodeDecodeError in error callback Exit code: 1 Kup did not successfully complete the bup backup job: failed to save everything.

IslandC0der commented on 2020-09-09 20:36

@edsonspbr não estou a conseguir replicar, infelizmente :(

O que eu fiz:

bup init

bup index ./äcêntüàçãó

bup save -n teste ./äcêntüàçãó

bup restore -C ./backup teste/latest

Após executar o último comando, na pasta "backup" apareceu a pasta "äcêntüàçãó", assim como todos os ficheiros que lá estavam (também com nomes com letras acentuadas).

Que comandos é que executou, e que erro é que aparece na consola?

edsonspbr commented on 2020-09-08 23:02

Blz João Figueiredo. O backup da erro quando existem nomes de pastas/arquivos com acentuação, teria uma solução para isso? Tenho vários arquivos com acentuação, seria impossível renomear todos. ;) Até tentei dar uma editada no código colocando um utf-8, mas não deu certo. rs valeu!

twilk commented on 2020-07-21 19:06

Great, thanks @IslandC0der!

IslandC0der commented on 2020-07-21 18:55

Alright, I've just submitted it and updated the dependency list.

IslandC0der commented on 2020-07-21 17:02

Hi @twilk, I talked with @edh, the maintainer of bup-git about this issue last week.

We determined that, although the check() function executes successfully with python-fuse, bup fuse doesn't run, as you pointed out.

I'm currently working on submitting python2-fuse, should be up on the AUR today.

Appreciate your feedback anyways :)

twilk commented on 2020-07-20 21:53

Is the python-fuse dependency correct? As far as I can tell, bup uses Python 2 and would thus need python2-fuse (though that doesn't seem to be packaged any more).

Edit: running bup fuse without python2-fuse installed gives the following error:

Traceback (most recent call last):                                                                                                                                                                                                                                                
  File "/usr/lib/bup/cmd/bup-fuse", line 9, in <module>                                                                                                                                                                                                                           
    log('error: cannot find the python "fuse" module; please install it\n')                                                                                                                                                                                                       
NameError: name 'log' is not defined                                                                                                                                                                                                                                              

Whereas running bup fuse WITH python2-fuse installed gives the following expected output:

usage: bup fuse [-d] [-f] <mountpoint>                                                                                                                                                                                                                                            

    -f, --foreground      run in foreground                                                                                                                                                                                                                                       
    -d, --debug           run in the foreground and display FUSE debug                                                                                                                                                                                                            
                            information                                                                                                                                                                                                                                           
    -o, --allow-other     allow other users to access the filesystem                                                                                                                                                                                                              
    --meta                report original metadata for paths when                                                                                                                                                                                                                 
                            available                                                                                                                                                                                                                                             
    -v, --verbose         increase log output (can be used more than                                                                                                                                                                                                              
                            once)                                                                                                                                                                                                                                                 

error: only one mount point argument expected                                                                                                                                                                                                                                     

In both these cases, installing python-fuse has no effect as it only includes bindings for Python 3, not Python 2.