If backing up files from a bootflash on a NX-OS or IOS device it is possible to copy a file located an bootflash to a local server system. Pulling files from routers bootflash to server directory:

NX-OS:

user % scp username@nx-os-switch:license.tar .

IOS:

user % scp username@ios-switch:file.txt .

Pushing files from routers bootflash to a server directory:

NX-OS:

R1# copy running-config scp://username@server/directory/

IOS:

R1# copy running-config scp://username@server/directory/