add -debug option for backup logs in /data/log