[wip] Basic backup functionality

Line is too long. [88/80]